VDB

CVE-2024-31216

CVE-2024-31216 PUBLISHED CVSS 5.1 MEDIUM

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

Reported by github_m · Published May 15, 2024

github.com/fluxcd/source-controller is fixed in 1.2.5 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/fluxcd/source-controllerGo Modules1.2.5

Risk scores

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

Affected products

VendorProductVersions
fluxcdsource-controller< 1.2.5
wolfiflux-source-controller*
github.comfluxcd/source-controller0
chainguardflux-source-controller*
fluxcdsource-controller0

Timeline

  • Apr 4, 2024 Fix PR Merged
  • May 15, 2024 CVE Published
  • May 16, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Jan 13, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-31216
vulnetix vdb fixes CVE-2024-31216

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-31216/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›