Live threats

All CVEs / fluxcd

CVE-2024-31216fluxcd source-controller

Medium 5.1

Priority
31
CVSS 3.1
5.1
EPSS
0.3%
probability of exploitation in 30 days · percentile 17
Auth required
Yes
Published
May 15, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-532
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for source-controller.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/fluxcd/source-controller < 1.2.5 1.2.5 go get github.com/fluxcd/source-controller@v1.2.5
Go github.com/fluxcd/source-controller < 1.2.5 1.2.5 go get github.com/fluxcd/source-controller@v1.2.5

Per OSV / GitHub Advisories (GHSA-v554-xwgw-hc3w, GO-2024-2859). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.