VDB

CVE-2024-9042

CVE-2024-9042 PUBLISHED CVSS 5.9 MEDIUM

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.

PackageEcosystemFixed in
k8s.io/kubernetesGo Modules1.32.1, 1.31.5, 1.30.9, 1.29.13
rancher-agent-2.11Chainguard2.11.0-r1
rancher-agent-2.11Wolfi2.11.0-r1

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
KubernetesKubelet<=v1.29.12, v1.30, v1.31
chainguardeks-distro-fips-1.30*
chainguardeks-distro-1.29*
wolfikubernetes-csi-driver-nfs*
chainguardargocd-image-updater*
chainguardeks-distro-fips-1.31*
chainguardazuredisk-csi-fips-1.29*
chainguardkubernetes-1.28*
chainguardrancher-agent-2.110
wolfirancher-agent-2.9*
chainguardcluster-autoscaler-fips-1.28*
wolficalico-3.28*
chainguardeks-distro-1.31*
wolfirancher-agent-2.110
wolfiargocd-image-updater*
wolfirancher-2.8*
wolfirancher-webhook-0.5*
chainguardargo-cd-2.11*
chainguardrancher-agent-2.8*
k8s.iokubernetes1.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›