Zum Hauptinhalt springen
LIVE Intel Feed
highCVSS 8.6/10·Published: 2024-01-31·runc (Docker, Kubernetes, containerd)

How to fix CVE-2024-21626 – Step-by-Step Guide

CVE-2024-21626, also known as "Leaky Vessels," is a high-severity container escape vulnerability in runc (CVSS 8.6). Published on January 31, 2024, it allows attackers to break out of container isolation. This critical flaw affects widely used container runtimes like Docker and Kubernetes.

CVE ID
CVE-2024-21626
Severity
HIGH
CVSS Score
8.6/10
Affected
runc (Docker, Kubernetes, containerd)

What is runc Container Escape – Leaky Vessels?

This vulnerability stems from a file descriptor leak within runc, the low-level container runtime. An attacker inside a container can exploit this leak by accessing `/proc/self/fd`. This enables them to escape the container's isolation boundary and gain root privileges on the underlying host system. It impacts any environment using runc, including Docker, Kubernetes, and containerd.

Affected Versions
runc < 1.1.12
Fixed In
runc 1.1.12+

Impact and Risks for your Infrastructure

Successful exploitation of CVE-2024-21626 leads to a complete container escape, granting an attacker root access to the host system. This can result in full compromise of the host, data exfiltration, unauthorized code execution, and potential lateral movement across your infrastructure. The integrity and confidentiality of your entire environment are at severe risk.

runcdockerkubernetescontainer-escapehigh2024

Step-by-Step Mitigation Guide

To mitigate CVE-2024-21626, immediately upgrade runc to version 1.1.12 or later. This fix addresses the file descriptor leak. After upgrading, ensure all affected container services (e.g., Docker daemon, Kubelet) are restarted to apply the new runc binary. Verify the update by checking the runc version.

  1. 1Update runc to 1.1.12 or later.
  2. 2Update Docker to 25.0.2+ / 24.0.9+ and containerd to 1.7.13+ / 1.6.27+.
  3. 3Run containers as non-root with --user and --cap-drop=ALL.
  4. 4Enable Seccomp and AppArmor/SELinux profiles for containers.
  5. 5Restrict /proc access with read-only mounts where possible.
  6. 6Run containers in rootless mode (Podman, rootless Docker) for defense-in-depth.

Frequently Asked Questions

What is the CVSS score for CVE-2024-21626?
CVE-2024-21626 has a CVSS score of 8.6/10 (high severity). This reflects a significant security risk that should be addressed promptly.
Which versions of runc (Docker, Kubernetes, containerd) are affected?
Affected: runc < 1.1.12. The vulnerability was fixed in: runc 1.1.12+.
How long does it take to fix CVE-2024-21626?
For most teams: 15–60 minutes to apply the patch, plus 15 minutes of post-patch verification. Complex multi-service environments may require 2–4 hours including staging validation.
Is CVE-2024-21626 being actively exploited?
Check the NVD entry and CISA KEV catalog for exploitation status. As a high-severity vulnerability, treat it as a priority remediation regardless of known exploitation status.
This CVE fix guide is based on publicly available security advisories (NVD, vendor bulletins). Always test changes in a staging environment before applying to production. Verify against the official vendor advisory for the most up-to-date guidance.
🔒 Quantum-Resistant Mycelium Architecture
🛡️ 3M+ Runbooks – täglich von SecOps-Experten geprüft
🌐 Zero Known Breaches – Powered by Living Intelligence
🏛️ SOC2 & ISO 27001 Aligned • GDPR 100 % compliant
⚡ Real-Time Global Mycelium Network – 347 Bedrohungen in 60 Minuten
🧬 Trusted by SecOps Leaders worldwide