source-controller leaks theAzure Storage SAS token into logs on connection errors
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fluxcd | source-controller | before 1.2.5 | 1.2.5 | Patch available | CNA |
| — | github.com/fluxcd/source-controller (Go) | before 1.2.5 | 1.2.5 | Patch available | GHSA-v554-xwgw-hc3w |
- source-controller Vendorfluxcd Affected before 1.2.5 Fixed in 1.2.5 Patch available CNA
- github.com/fluxcd/source-controller (Go) Vendor— Affected before 1.2.5 Fixed in 1.2.5 Patch available GHSA-v554-xwgw-hc3w
Remediation
- Fix · CNA source-controller (fluxcd) Fixed in 1.2.5
- Fix · GHSA-v554-xwgw-hc3w github.com/fluxcd/source-controller (Go) Fixed in 1.2.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31216
- 2026-10-03 Alias added: GHSA-v554-xwgw-hc3w
References
More fluxcd vulnerabilities
- TI-2022-08687 Improper path handling in kustomization files allows path traversal CVSS 3.1CRITICAL 9.9
- TI-2022-08630 Improper kubeconfig validation allows arbitrary code execution CVSS 3.1CRITICAL 9.9
- TI-2021-18089 Privilege escalation to cluster admin on multi-tenant environments CVSS 3.1HIGH 8.8
- TI-2022-16473 Flux2 Helm Controller denial of service CVSS 3.1HIGH 7.7
- TI-2022-16460 Flux CLI Workload Injection CVSS 3.1HIGH 7.8
- TI-2022-08688 Improper path handling in Kustomization files allows for denial of service CVSS 3.1HIGH 7.7
Sources
- CVE-2024-31216 · CVE Program
- CVE-2024-31216 · NVD
- FIRST EPSS
- GHSA-v554-xwgw-hc3w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences