CVE-2021-30465
At a glance
- Source
- NVD
- EPSS
- EPSS 10.24 % · percentile 96 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization
References
- https://github.com/opencontainers/runc/releases
- http://www.openwall.com/lists/oss-security/2021/05/19/2
- https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/
- https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f
- https://bugzilla.opensuse.org/show_bug.cgi?id=1185405
- https://security.netapp.com/advisory/ntap-20210708-0003/
- https://security.gentoo.org/glsa/202107-26
- https://lists.debian.org/debian-lts-announce/2023/03/msg00023.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-c3xm-pvg7-gh7r — mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs
- GO-2022-0914 — Mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs in github.com/opencontainers/runc
European references
- ENISA EUVD · EUVD-2021-1034
- GCVE · GCVE-0-2021-30465
CERT-FR advisories
- CERTFR-2024-AVI-0366 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0051 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2022-AVI-591 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*≤ 0.1.1cpe:2.3:a:linuxfoundation:runc:1.0.0:rc1:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc10:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc2:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc3:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc4:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc5:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc6:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc7:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc8:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc9:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc90:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc91:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc92:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc93:*:*:*:*:*:*cpe:2.3:a:linuxfoundation:runc:1.0.0:rc94:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |