Container escape via nested gitRepo hook placement
Published Nov 22, 2024 · Updated Nov 25, 2024
Path traversal in affected Kubernetes Kubelet releases allows remote authenticated users to execute commands beyond containers. When revision and directory are both set, validateVolume accepts a multi-component directory ending in .git, placing attacker-controlled hooks where Git runs them on the node. Pod-creation permission and use of the in-tree gitRepo volume are required; successful exploitation runs commands outside the container boundary.
Summary
What happened
Path traversal in affected Kubernetes Kubelet releases allows remote authenticated users to execute commands beyond containers. When revision and directory are both set, validateVolume accepts a multi-component directory ending in .git, placing attacker-controlled hooks where Git runs them on the node. Pod-creation permission and use of the in-tree gitRepo volume are required; successful exploitation runs commands outside the container boundary.
The record
- CVE
- CVE-2024-10220
- Published
- Nov 22, 2024
- Updated
- Nov 25, 2024
- Vendor
- Kubernetes
- Product
- Kubelet
- Classifications
- CWE-22, T1611
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 22, 2024CVE publishedPublication date reported by the CVE source.
- Nov 25, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.28.11
- Affected versionversion=1.29.0 <=1.29.6
- Affected versionversion=1.30.0 <=1.30.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- candranapits/poc-CVE-2024-10220proof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo