Hexret
CVE-2021-30465high 8.5PoC available

runc mount-destination symlink race (container escape)

A bind-mount destination is resolved and confined once, then the mount syscall re-walks it as a string, so a racing symlink swap redirects the mount outside the container and bind-mounts the host filesystem in.

Product
runc (opencontainers)
Vendor
Open Container Initiative
Affected
< 1.0.0-rc95 (all releases through 1.0.0-rc94)
Fixed in
1.0.0-rc95
Weakness
CWE-362
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
27 May 2021

Practice this CVE, free

Classified as

References

Related CVEs