Vulnerability · Published Oct 11, 2021 · Assigned by kubernetes
CVE-2021-25738Code exec via yaml parsing
Medium 6.7
In plain English
A medium-severity improper input validation in Kubernetes Java Client from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.5%top 58.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.kubernetes:client-java | 11.0.1 | GHSA-m8wh-mqgf-rr8g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes Java Client | v12.0.0unspecified – through v11.0.1unspecified – through v10.0.1unspecified – through v9.0.2 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk x_refsource_MISC
- https://github.com/kubernetes-client/java/issues/1698 x_refsource_MISC
- [oss-security] 20220823 Multiple vulnerabilities in Jenkins plugins mailing-list, x_refsource_MLIST