Red Hat VEX
RHVEX-CVE-2023-27561
runc: volume mount race condition (regression of CVE-2019-19921)
Details
A flaw was found in runc. An attacker who controls the container image for two containers that share a volume can race volume mounts during container initialization by adding a symlink to the rootfs that points to a directory on the volume.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | runc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | runc | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2023-27561
- https://bugzilla.redhat.com/show_bug.cgi?id=2175721
- https://www.cve.org/CVERecord?id=CVE-2023-27561
- https://nvd.nist.gov/vuln/detail/CVE-2023-27561
- https://gist.github.com/LiveOverflow/c937820b688922eb127fb760ce06dab9
- https://github.com/opencontainers/runc/issues/2197#issuecomment-1437617334
- https://github.com/opencontainers/runc/issues/3751