Every CVE Search/ Get API key

CVE-2021-25738

Code exec via yaml parsing

6.7 MediumFix available

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.47%Down 0.6 points since Oct 12, 2021
90%50%10%1%

What each source reports

CVE List Score used 6.7

Code exec via yaml parsing

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Record
CVE-2021-25738
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
EUVDEUVD-2021-2229 6.7

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Record
EUVD-2021-2229
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-m8wh-mqgf-rr8g 6.7

Code injection in Kubernetes Java Client

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Record
GHSA-m8wh-mqgf-rr8g
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20, CWE-502
Updated
2026-11-02
NVD 6.7

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Record
CVE-2021-25738
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-20, CWE-502
Updated
2026-11-02
OSV 6.7

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Record
CVE-2021-25738
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-m8wh-mqgf-rr8g 6.7

Code injection in Kubernetes Java Client

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

Record
GHSA-m8wh-mqgf-rr8g
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20, CWE-502
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
io.kubernetes:client-java
Maven
before 11.0.1
11.0.1
io.kubernetes:client-java
Maven
before 11.0.1, plus listed versions
0.10.21.0.01.0.0-beta11.0.0-beta2
Show 24 moreShow less
1.0.0-beta31.0.0-beta410.0.010.0.110.0.211.0.02.0.02.0.0-beta12.0.0-beta23.0.03.0.0-beta13.0.0-beta24.0.04.0.0-beta15.0.06.0.17.0.08.0.08.0.0-alpha18.0.29.0.09.0.19.0.29.0.3
11.0.1

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-25738 is a medium vulnerability (CVSS 6.7) in Kubernetes Java, published October 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 41st percentile. Fixed in io.kubernetes:client-java 11.0.1.

References

MoveEnter Open