CVE-2021-30465
HIGH7.6EPSS 1.5%Mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs in github.com/opencontainers/runc
Published: 5/25/2021Modified: 4/28/2026
Description
runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. To exploit the vulnerability, an attacker must be able to create multiple containers with a fairly specific mount configuration. The problem occurs via a symlink-exchange attack that relies on a race condition.
Affected packages (3)
- Debian/runcfrom 0, < 1.0.0~rc93+ds1-5
- Go/github.com/opencontainers/runcfrom 0, < 1.0.0-rc95
- Go/github.com/opencontainers/runcfrom 0, < 1.0.0-rc95
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.6 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-30465
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-30465
- WEBhttps://bugzilla.opensuse.org/show_bug.cgi?id=1185405
- WEBhttps://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f
- WEBhttps://github.com/opencontainers/runc/releases
- WEBhttps://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r
- WEBhttps://lists.debian.org/debian-lts-announce/2023/03/msg00023.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV
- WEBhttps://security.gentoo.org/glsa/202107-26
- WEBhttps://security.netapp.com/advisory/ntap-20210708-0003
- WEBhttp://www.openwall.com/lists/oss-security/2021/05/19/2