CVE-2024-31216

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

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.

Category

5.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.05%
Affected: fluxcd source-controller
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-31216?
CVE-2024-31216 has been scored as a medium severity vulnerability.
How to fix CVE-2024-31216?
To fix CVE-2024-31216, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-31216 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-31216 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-31216?
CVE-2024-31216 affects fluxcd source-controller.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.