CVE-2024-9042
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API
Reported by kubernetes · Published March 13, 2025
k8s.io/kubernetes is fixed in 1.32.1, 1.31.5, 1.30.9 and 1 more (Go Modules)
This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| k8s.io/kubernetes | Go Modules | 1.32.1, 1.31.5, 1.30.9, 1.29.13 |
| rancher-agent-2.11 | Chainguard | 2.11.0-r1 |
| rancher-agent-2.11 | Wolfi | 2.11.0-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubelet | <=v1.29.12, v1.30, v1.31 |
| chainguard | eks-distro-fips-1.30 | * |
| chainguard | eks-distro-1.29 | * |
| wolfi | kubernetes-csi-driver-nfs | * |
| chainguard | argocd-image-updater | * |
| chainguard | eks-distro-fips-1.31 | * |
| chainguard | azuredisk-csi-fips-1.29 | * |
| chainguard | kubernetes-1.28 | * |
| chainguard | rancher-agent-2.11 | 0 |
| wolfi | rancher-agent-2.9 | * |
| chainguard | cluster-autoscaler-fips-1.28 | * |
| wolfi | calico-3.28 | * |
| chainguard | eks-distro-1.31 | * |
| wolfi | rancher-agent-2.11 | 0 |
| wolfi | argocd-image-updater | * |
| wolfi | rancher-2.8 | * |
| wolfi | rancher-webhook-0.5 | * |
| chainguard | argo-cd-2.11 | * |
| chainguard | rancher-agent-2.8 | * |
| k8s.io | kubernetes | 1.32.0-alpha.0, 1.30.0-alpha.0, 0 |
…and 40 more
Timeline
- Jan 15, 2025 CVE Published
- Mar 13, 2025 Coalition ESS Score (13 in total, the first dated here)
- Mar 13, 2025 CVE Updated
- Mar 14, 2025 EPSS Score (30 in total, the first dated here)
- Dec 11, 2025 PoC Published
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-9042
vulnetix vdb fixes CVE-2024-9042
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-9042/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- http://www.openwall.com/lists/oss-security/2025/01/16/1 url
- https://nvd.nist.gov/vuln/detail/CVE-2024-9042 advisory
- https://github.com/advisories/GHSA-vv39-3w5q-974q advisory
- https://github.com/kubernetes/kubernetes/commit/45f4ccc2153bbb782253704cbe24c05e22b5d60c patch
- https://github.com/kubernetes/kubernetes/commit/5fe148234f8ab1184f26069c4f7bef6c37efe347 patch
- https://github.com/kubernetes/kubernetes/commit/75c83a6871dc030675288c6d63c275a43c2f0d55 patch
- https://github.com/kubernetes/kubernetes/commit/fb0187c2bf7061258bb89891edb1237261eb7abc patch
- https://github.com/kubernetes/kubernetes url