CVE-2024-10220
CBL Mariner vulnerability analysis and mitigation

Overview

A high-severity security vulnerability (CVE-2024-10220) was discovered in the Kubernetes kubelet component that could allow arbitrary command execution via specially crafted gitRepo volumes. The vulnerability affects kubelet versions through 1.28.11, from 1.29.0 through 1.29.6, and from 1.30.0 through 1.30.2. This issue has been rated High with a CVSS score of 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N). The vulnerability was originally disclosed with a fix in July and later assigned a CVE for tracking purposes (Kubernetes Issues, Kubernetes Security).

Technical details

The vulnerability leverages the hooks folder in the target repository to execute arbitrary commands outside of the container's boundary. It specifically affects Kubernetes clusters where pods use the in-tree gitRepo volume to clone a repository to a subdirectory. The issue allows users with the ability to create a pod and associate a gitRepo volume to execute commands beyond the container boundary (Openwall, Security Online).

Impact

The vulnerability enables attackers to execute arbitrary commands outside of container boundaries, potentially leading to unauthorized access to sensitive data and privilege escalation across the Kubernetes cluster. The high CVSS score of 8.1 reflects the significant potential impact on confidentiality and integrity of the affected systems (Security Online).

Mitigation and workarounds

To mitigate this vulnerability, users must upgrade their Kubernetes clusters to one of the fixed versions: v1.31.0, v1.30.3, v1.29.7, or v1.28.12. Since the gitRepo volume has been deprecated, the recommended long-term solution is to perform Git clone operations using an init container and then mount the directory into the Pod's container (ASEC, Kubernetes Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management