Hexret
CVE-2024-21626high 8.6PoC available

Leaky Vessels: runc leaked-fd working-directory container escape (CVE-2024-21626)

runc marks stray inherited file descriptors close-on-exec but then enters the workload's requested working directory before they are actually closed, so a cwd of /proc/self/fd/N re-enters a still-open host directory handle and the process escapes onto the host filesystem.

Product
runc (OCI container runtime; used by Docker, containerd, Kubernetes, BuildKit)
Vendor
Open Container Initiative (opencontainers)
Affected
>= v1.0.0-rc93, <= 1.1.11
Fixed in
1.1.12 (also 1.2.0-rc.1)
Weakness
CWE-403
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
31 Jan 2024

Practice this CVE, free

Classified as

References

Related CVEs