# CVE-2021-30465: mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs

- Severity: High 8.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.2%, higher than 95% of CVEs (2026-12-01)
- Published: 2021-05-25T18:44:42.000Z
- Modified: 2026-09-10T03:49:14.427Z
- Also known as: GHSA-c3xm-pvg7-gh7r, GO-2022-0914
- Related: CGA-qqf4-pjrx-g369
- Weaknesses: CWE-22, CWE-362, CWE-367
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/opencontainers/runc (Go): before 1.0.0-rc95
- linuxfoundation runc: up to 0.1.1; 1.0.0
- fedoraproject fedora: 33; 34

## Every score

- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/opencontainers/runc/releases> (release-notes, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/05/19/2> (mailing-list, third-party-advisory, web)
- <https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r> (advisory, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/> (vendor-advisory)
- <https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f> (fix, patch, third-party-advisory, web)
- <https://bugzilla.opensuse.org/show_bug.cgi?id=1185405> (issue-tracking, web)
- <https://security.netapp.com/advisory/ntap-20210708-0003/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202107-26> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00023.html> (mailing-list, 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)
- <https://security.netapp.com/advisory/ntap-20210708-0003> (web)

## Sources

- CVE List: [CVE-2021-30465](https://www.cve.org/CVERecord?id=CVE-2021-30465), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-c3xm-pvg7-gh7r](https://github.com/advisories/GHSA-c3xm-pvg7-gh7r), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0914](https://pkg.go.dev/vuln/GO-2022-0914), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2021-30465](https://nvd.nist.gov/vuln/detail/CVE-2021-30465), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-30465 · Whole record: https://cve.day/CVE-2021-30465.json · Rebuilt by cve.day 2026-11-25T22:58:01.568Z
