# CVE-2024-31216: GO-2024-2859 - source-controller leaks Azure Storage SAS token into logs in github.com/fluxcd/source-controller

Source: https://junglewise.ai/threats/cve-2024-31216-source-controller-leaks-azure-storage-sas-token-into-logs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-04  
License: CC BY 4.0 with a link back

CVE-2024-31216 · Severity: low · CVSS 3.1 · Published 2024-06-04

source-controller leaks Azure Storage SAS token into logs in github.com/fluxcd/source-controller

Technologies: [github.com/fluxcd/source-controller (Go)](https://junglewise.ai/threats/technologies/github-com-fluxcd-source-controller). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-31216 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-31216 being exploited in the wild.

**How severe is CVE-2024-31216?** Low severity, with a CVSS score of 3.1, published 4 June 2024.

**Which products and versions are affected?** github.com/fluxcd/source-controller (Go) SEMVER:introduced=0,fixed=1.2.5.

**Is there a fix for CVE-2024-31216?** Yes. github.com/fluxcd/source-controller (Go): upgrade to 1.2.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-31216?** Check whether you run github.com/fluxcd/source-controller (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/fluxcd/source-controller (Go): upgrade to 1.2.5 or later

  ```sh
  go get github.com/fluxcd/source-controller@v1.2.5
  ```


## Affected products

- github.com/fluxcd/source-controller (Go) SEMVER:introduced=0,fixed=1.2.5

## Identifiers

- CVE-2024-31216
- GHSA-v554-xwgw-hc3w
- GO-2024-2859

## Related threats

- [Flux source-controller path traversal in Bucket and GitRepository reconcilers](https://junglewise.ai/threats/cve-2026-47680-flux-source-controller-path-traversal-in-bucket-and-gitrepository)
- [GO-2022-1071 - Denial of service in flux controllers in github.com/fluxcd modules](https://junglewise.ai/threats/cve-2022-39272-improper-use-of-metav1-duration-allows-for-denial-of-service)
