CVE-2024-31216

Medium

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.

SeverityMedium
CVSS5.1
Exploit probability—
ProductGithub.com/fluxcd/source-controller
PublishedMay 15, 2024
First seenMay 15, 2024
Weakness typeCWE-532CWE-532

How to fix

Update
  • github.com/fluxcd/source-controller1.2.5 or later

Affected products

ProductAffected versionsFixed in
github.com/fluxcd/source-controllerGov < 1.2.51.2.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.