5.1

CVE-2024-31216: source-controller leaks theAzure Storage SAS token into logs on connection errors

Deferred
AliasesCGA-3pgw-9mrr-hxhhCGA-cggq-69mw-vhvgCGA-r69q-xq4v-2539
Published 15-05-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-31216 is a medium (CVSS 5.1) vulnerability in fluxcd source-controller. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 15-05-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • flux-source-controllerAll versions (No fix recorded)
  • flux-source-controller-iamguarded-compatAll versions (No fix recorded)
Wolfi2 products
  • flux-source-controllerAll versions (No fix recorded)
  • flux-source-controller-iamguarded-compatAll versions (No fix recorded)
Fluxcd1 product
Github.com/fluxcd1 product
  • source-controller< 1.2.5

4 vendors · 6 products

References

6 links