CVE-2021-25738
6.7medium
Code exec via yaml parsing
- Severity
- 6.7medium CVSS:3.1 by kubernetes
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- kubernetes
- Also known as
- GHSA-m8wh-mqgf-rr8g
Description
Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Kubernetes Kubernetes Java Client | v12.0.0, from unspecified up to v11.0.1, from unspecified up to v10.0.1, from unspecified up to v9.0.2 | CVE List |
| io.kubernetes:client-java (Maven) | before 11.0.1 | GitHub Advisory Database |
| kubernetes java | up to 9.0.2, from 10.0.0 up to 10.0.1, from 11.0.0 before 11.0.1 | NVD |
All scores
| kubernetes | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.
NVD (es)
Una carga de yaml especialmente diseñado con la librería Kubernetes Java Client puede conllevar a una ejecución de código
References
| https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk | mailing-list, third-party-advisory, web | |
| https://github.com/kubernetes-client/java/issues/1698 | issue-tracking, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/08/23/2 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-25738 | advisory | |
| https://github.com/kubernetes-client/java | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25738 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m8wh-mqgf-rr8g changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-25738 changed 2026-06-17 | Public domain |