CVE-2024-3744: Sigs.k8s.io/azurefile csi driver Azure-file-csi-driver Leaks Service Account Tokens Vulnerability
MODERATECVE-2024-3744 is a MODERATE (CVSS 6.5) azure-file-csi-driver leaks service account tokens vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Sigs.k8s.io/azurefile csi driver libraries in the Go ecosystem. The issue involves azure-file-csi-driver leaks service account tokens in the logs. Remediation is available by upgrading affected packages to version 1.29.4, 1.30.1.
CVE-2024-3744 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2024-3744
To remediate this vulnerability, upgrade all affected Sigs.k8s.io/azurefile csi driver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade sigs.k8s.io/azurefile-csi-driver to 1.29.4
Upgrade sigs.k8s.io/azurefile-csi-driver to 1.30.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sigs.k8s.io/azurefile-csi-driver
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-3744, inspect your project dependencies for Sigs.k8s.io/azurefile csi driver:
inspect dependencies for sigs.k8s.io/azurefile-csi-driver
Analyze the terminal output to locate any version of Sigs.k8s.io/azurefile csi driver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.29.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Sigs.k8s.io/azurefile csi driver, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-3744 Affected Sigs.k8s.io/azurefile csi driver Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sigs.k8s.io/azurefile-csi-driver
|
Go |
< 1.29.4
|
1.29.4
|
|
sigs.k8s.io/azurefile-csi-driver
|
Go |
≥ 1.30.0
< 1.30.1
All 1 versions
1.30.0
|
1.30.1
|
References
Frequently Asked Questions
What is CVE-2024-3744?
Which Sigs.k8s.io/azurefile csi driver versions are affected?
What version fixes CVE-2024-3744?
Is sigs.k8s.io/azurefile-csi-driver affected?
What is the CVSS score of CVE-2024-3744?
What CWE is associated with CVE-2024-3744?
How can I check Go dependencies for CVE-2024-3744?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qjqg-4wg7-957h",
"modified" : "2025-02-13T18:59:21Z",
"published" : "2024-05-15T03:30:43Z",
"aliases" : [ "CVE-2024-3744" ],
"summary" : "azure-file-csi-driver leaks service account tokens in the logs",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "sigs.k8s.io/azurefile-csi-driver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.29.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.29.3"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "sigs.k8s.io/azurefile-csi-driver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.30.0"
}, {
"fixed" : "1.30.1"
} ]
} ],
"versions" : [ "1.30.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3744"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/124759"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/azurefile-csi-driver/commit/a1b7446de942136419f07394efeef804523f87ae"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/azurefile-csi-driver/commit/e11ff3dc2c03894cde692213308f9991e7bbd5bf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes-sigs/azurefile-csi-driver"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/hcgZE2MQo1A/m/Y4C6q-CYAgAJ"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/05/09/4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T17:16:58Z",
"nvd_published_at" : "2024-05-15T01:15:07Z"
}
}