medium6.5
CVE-2024-3744
azure-file-csi-driver leaks service account tokens in the logs
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | sigs.k8s.io/azurefile-csi-driver | <= 1.29.3 | 1.29.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2024/05/09/4
- https://github.com/kubernetes/kubernetes/issues/124759
- https://groups.google.com/g/kubernetes-security-announce/c/hcgZE2MQo1A/m/Y4C6q-CYAgAJ
- https://github.com/advisories/GHSA-qjqg-4wg7-957h
- https://nvd.nist.gov/vuln/detail/CVE-2024-3744
- https://github.com/kubernetes-sigs/azurefile-csi-driver/commit/a1b7446de942136419f07394efeef804523f87ae
- https://github.com/kubernetes-sigs/azurefile-csi-driver/commit/e11ff3dc2c03894cde692213308f9991e7bbd5bf