CVE-2021-25738: Code exec via yaml parsing
Vulnerability summary
CVE-2021-25738 is a medium (CVSS 6.7) Improper Input Validation vulnerability in kubernetes java. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 42.5% of scored vulnerabilities.
Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 11-10-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · MavenEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- NVDNIST6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-502Deserialization of Untrusted DataThe product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Affected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Kubernetes2 products
- java≤ 9.0.2 | ≥ 10.0.0, ≤ 10.0.1 | ≥ 11.0.0, < 11.0.1
- kubernetes java clientv12.0.0 | ≥ unspecified, ≤ v11.0.1 | ≥ unspecified, ≤ v10.0.1 | ≥ unspecified, ≤ v9.0.2
Io.kubernetes1 product
- client-java< 11.0.1
2 vendors · 3 products
References
5 links- groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJkX Refsource MISCWEBMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2022/08/23/2Mailing ListX Refsource MLISTWEBThird Party Advisory