CVE-2024-3744 Kubernetes azure-file-csi-driver in versions before 1.29.4 and 1.30.1 discloses service account tokens in logs

Medium 6.5 Published Updated

Attackers with log access can steal service account tokens to access cloud secrets when verbose logging and token requests are enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-3744?

CVE-2024-3744 is a medium-severity vulnerability in Kubernetes azure-file-csi-driver, published on 15 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A security issue was discovered in azure-file-csi-driver where an actor with access to the driver logs could observe service account tokens. These tokens could then potentially be exchanged with external cloud providers to access secrets stored in cloud vault solutions. Tokens are only logged when TokenRequests is configured in the CSIDriver object and the driver is set to run at log level 2 or greater via the -v flag.

Weakness: CWE-532

Which versions are affected by CVE-2024-3744?

5 open source packages ship an affected version, including sigs.k8s.io/azurefile-csi-driver.

PackageAffectedFixed in
sigs.k8s.io/azurefile-csi-driver GoAll versions1.29.4, 1.30.1
sigs.k8s.io/azurefile-csi-driver GoAll versions1.29.4
sigs.k8s.io/azurefile-csi-driver GoAll versions1.29.4
sigs.k8s.io/azurefile-csi-driver GoFrom 1.30.01.30.1
sigs.k8s.io/azurefile-csi-driver GoFrom 1.30.01.30.1

How do I fix CVE-2024-3744?

Upgrade sigs.k8s.io/azurefile-csi-driver to a fixed version for your release line: 1.29.4 or 1.30.1.

Is CVE-2024-3744 being exploited?

There is no known exploitation of CVE-2024-3744 in the wild and no public exploit code.

Sources

Also known as GHSA-qjqg-4wg7-957h, GO-2024-2861.

Is CVE-2024-3744 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free