CVE-2021-25738
MEDIUM 6.7CVSS 3.1Code injection in Kubernetes Java Client
Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.
- Published
- 11 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- jordan@liggitt.net
- NVD status
- Modified
- Weakness
- CWE-20CWE-502
- Also known as
- GHSA-m8wh-mqgf-rr8g
- Sources
- NVDJSONOSV GHSA-m8wh-mqgf-rr8gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | jordan@liggitt.net (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubernetes | javacpe:2.3:a:kubernetes:java:*:*:*:*:*:*:*:* |
<= 9.0.2 | |
| NVD | kubernetes | javacpe:2.3:a:kubernetes:java:*:*:*:*:*:*:*:* |
>= 10.0.0, <= 10.0.1 | |
| NVD | kubernetes | javacpe:2.3:a:kubernetes:java:*:*:*:*:*:*:*:* |
>= 11.0.0, < 11.0.1 | 11.0.1 |
| OSV | Maven | io.kubernetes:client-java | < 11.0.1 | 11.0.1 |
References
- http://www.openwall.com/lists/oss-security/2022/08/23/2 · Mailing List, Third Party Advisory, WEB
- https://github.com/kubernetes-client/java/issues/1698 · Issue Tracking, Third Party Advisory, WEB
- https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25738 · ADVISORY
- https://github.com/kubernetes-client/java · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 Oct 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Oct 2021)