CVE-2021-30465
HIGH 8.5CVSS 3.1mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs
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.
- Published
- 27 May 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22CWE-362CWE-367
- Also known as
- GHSA-c3xm-pvg7-gh7rGO-2022-0914
- Sources
- NVDJSONOSV GHSA-c3xm-pvg7-gh7rJSONOSV GO-2022-0914JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* |
<= 0.1.1 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc1:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc10:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc2:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc3:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc4:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc5:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc6:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc7:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc8:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc9:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc90:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc91:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc92:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc93:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:1.0.0:rc94:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| OSV | Go | github.com/opencontainers/runc | < 1.0.0-rc95 | 1.0.0-rc95 |
References
- http://www.openwall.com/lists/oss-security/2021/05/19/2 · Mailing List, Third Party Advisory, WEB
- https://bugzilla.opensuse.org/show_bug.cgi?id=1185405 · Issue Tracking, WEB
- https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f · Patch, Third Party Advisory, WEB, FIX
- https://github.com/opencontainers/runc/releases · Release Notes, Third Party Advisory, WEB
- https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r · Patch, Third Party Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2023/03/msg00023.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/
- https://security.gentoo.org/glsa/202107-26 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210708-0003/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-30465 · ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 May 2021)