Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-31216

MEDIUM 5.1EPSS 17%

source-controller leaks theAzure Storage SAS token into logs on connection errors

Also known as GHSA-v554-xwgw-hc3w, GO-2024-2859

Mitigation

  • Upgrade github.com/fluxcd/source-controller to 1.2.5 or later.

Who should check

  • Projects that depend on Go package github.com/fluxcd/source-controller (< 1.2.5)
  • Anyone running fluxcd source-controller < 1.2.5

Vulnerability facts

Affected
github.com/fluxcd/source-controller < 1.2.5
Fixed in
1.2.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
CWE
CWE-532
Published
Modified

Description

The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git, OCI, Helm repositories and S3-compatible buckets. The source-controller implements the source.toolkit.fluxcd.io API and is a core component of the GitOps toolkit. Prior to version 1.2.5, when source-controller was configured to use an Azure SAS token when connecting to Azure Blob Storage, the token was logged along with the Azure URL when the controller encountered a connection error. An attacker with access to the source-controller logs could use the token to gain access to the Azure Blob Storage until the token expires. This vulnerability was fixed in source-controller v1.2.5. There is no workaround for this vulnerability except for using a different auth mechanism such as Azure Workload Identity.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/fluxcd/source-controller< 1.2.51.2.5osv
fluxcd source-controller< 1.2.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-31216. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-31216.md
Affected: github.com/fluxcd/source-controller < 1.2.5
Fixed in: 1.2.5

Steps:
1. Search this machine and project for github.com/fluxcd/source-controller (Go), fluxcd source-controller: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-31216 being exploited?

There is no confirmed exploitation: CVE-2024-31216 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-31216?

Medium: CVSS 5.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-31216?

github.com/fluxcd/source-controller < 1.2.5.

Is there a fix for CVE-2024-31216?

Yes. Fixed in 1.2.5. Upgrade github.com/fluxcd/source-controller to 1.2.5 or later.

How do I check if I'm affected by CVE-2024-31216?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors