Skip to content
Fencer Vulns
medium 5.9

CVE-2024-9042 json

Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API

published 2025-03-13 19 mo ago modified 2026-09-10 1 mo ago also EUVD-2024-54053 , GHSA-vv39-3w5q-974q , GO-2025-3522

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 72%
public exploits
0
none known

Summary

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.

Patch / fix

  • go k8s.io/kubernetes 1.29.13, 1.30.9, 1.31.5, 1.32.1
  • kubernetes kubernetes 1.29.13, 1.30.9, 1.31.5, 1.32.1
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250327T184518-1.1

opensuse advisories openSUSE-SU-2025:14937-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-9042 updated cvss 5.9

kubelet: Command Injection affecting Windows nodes via nodes/*/logs/query API

  • Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift-kube-apiserver, openshift-kube-scheduler, +2 more
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Windows Machine Config Operator 10.16 openshift4-wincw v10.16.2-1749241361
    fixed: vendor fix RHSA-2025:9136
  • Red Hat OpenShift Windows Machine Config Operator 10.17 openshift4-wincw 9.6-1748967421
    fixed: vendor fix RHSA-2025:8704
  • Red Hat OpenShift Windows Machine Config Operator 10.16 openshift4-wincw v10.16.2-1749247686 Red Hat OpenShift Windows Machine Config Operator 10.17 openshift4-wincw v10.17.1-1748972559
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
19 mo ago

Exploit prediction

1.40% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
GitHub 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
go k8s.io/kubernetes
<1.29.13
>=1.30.0-alpha.0, <1.30.9
>=1.31.0-alpha.0, <1.31.5
>=1.32.0-alpha.0, <1.32.1
1.29.13
1.30.9
1.31.5
1.32.1

Affected products

  • Kubernetes Kubelet

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-77 Improper Neutralization of Special Elements used in a Command
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.