Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/fluxcd/source-controller
  4. ›
  5. CVE-2024-31216

CVE-2024-31216: source-controller leaks Azure Storage SAS token into logs

May 15, 2024

When source-controller is 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.

References

  • github.com/advisories/GHSA-v554-xwgw-hc3w
  • github.com/fluxcd/source-controller
  • github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9
  • github.com/fluxcd/source-controller/pull/1430
  • github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w
  • nvd.nist.gov/vuln/detail/CVE-2024-31216

Code Behaviors & Features

Detect and mitigate CVE-2024-31216 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.5

Fixed versions

  • 1.2.5

Solution

Upgrade to version 1.2.5 or above.

Impact 5.1 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

go/github.com/fluxcd/source-controller/CVE-2024-31216.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.