CVEfocus › CVE database › CVE-2021-30465

CVE-2021-30465

EPSS 10.2% (higher than 96% of CVEs)Published 2021-05-27Updated 2024-08-03Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 10% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

91Fixed
1Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04runcFixed1.0.0~rc93-0ubuntu1~20.04.2UBUNTU-CVE-2021-30465
Ubuntu 18.04runcFixed1.0.0~rc93-0ubuntu1~18.04.2UBUNTU-CVE-2021-30465
Ubuntu 16.04runcFix pending1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-30465
Debian 14runcFixed1.0.0~rc93+ds1-5DEBIAN-CVE-2021-30465
Debian 13runcFixed1.0.0~rc93+ds1-5DEBIAN-CVE-2021-30465
Debian 12runcFixed1.0.0~rc93+ds1-5DEBIAN-CVE-2021-30465
Red Hat Enterprise Linux 9runcNot affected
Red Hat Enterprise Linux 8buildahFixed0:1.19.7-2.module+el8.4.0+11311+9da8acfbRHSA-2021:2291
Red Hat Enterprise Linux 8buildah-testsFixed0:1.11.6-8.module+el8.4.0+10193+e90fd8ebRHSA-2021:2370
Red Hat Enterprise Linux 8cockpit-podmanFixed0:29-2.module+el8.4.0+11311+9da8acfbRHSA-2021:2291
Red Hat Enterprise Linux 8conmonFixed2:2.0.26-3.module+el8.4.0+11311+9da8acfbRHSA-2021:2370
Red Hat Enterprise Linux 8container-selinuxFixed2:2.158.0-1.module+el8.4.0+11310+8c67a752RHSA-2021:2371
Red Hat Enterprise Linux 8containernetworking-pluginsFixed0:0.9.1-1.module+el8.4.0+11310+8c67a752RHSA-2021:2371
Red Hat Enterprise Linux 8containers-commonFixed1:0.1.41-4.module+el8.4.0+10193+e90fd8ebRHSA-2021:2371
Red Hat Enterprise Linux 8critFixed0:3.15-1.module+el8.4.0+11311+9da8acfbRHSA-2021:2370
Red Hat Enterprise Linux 8criuFixed0:3.12-9.module+el8.4.0+10193+e90fd8ebRHSA-2021:2371
Red Hat Enterprise Linux 8crunFixed0:0.18-2.module+el8.4.0+11311+9da8acfbRHSA-2021:2370
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.4.0-2.module+el8.4.0+11310+8c67a752RHSA-2021:2291
Red Hat Enterprise Linux 8libslirpFixed0:4.3.1-1.module+el8.4.0+11311+9da8acfbRHSA-2021:2370
Red Hat Enterprise Linux 8libslirp-develFixed0:4.3.1-1.module+el8.4.0+11310+8c67a752RHSA-2021:2371
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.0-1.module+el8.4.0+11310+8c67a752RHSA-2021:2371
Red Hat Enterprise Linux 8podmanFixed0:3.0.1-6.module+el8.4.0+11310+8c67a752RHSA-2021:2291
Red Hat Enterprise Linux 8podman-catatonitFixed0:3.0.1-6.module+el8.4.0+11310+8c67a752RHSA-2021:2371
Red Hat Enterprise Linux 8podman-dockerFixed0:1.6.4-26.module+el8.4.0+10193+e90fd8ebRHSA-2021:2370
Red Hat Enterprise Linux 8podman-pluginsFixed0:3.0.1-7.module+el8.4.0+11311+9da8acfbRHSA-2021:2370
Red Hat Enterprise Linux 8podman-remoteFixed0:1.6.4-26.module+el8.4.0+10193+e90fd8ebRHSA-2021:2371
Red Hat Enterprise Linux 8podman-testsFixed0:3.0.1-7.module+el8.4.0+11311+9da8acfbRHSA-2021:2291
Red Hat Enterprise Linux 8python-podman-apiFixed0:1.2.0-0.2.gitd0a45fe.module+el8.4.0+10193+e90fd8ebRHSA-2021:2291
Red Hat Enterprise Linux 8python3-criuFixed0:3.15-1.module+el8.4.0+11311+9da8acfbRHSA-2021:2291
Red Hat Enterprise Linux 8runcFixed
Out of support scope
0:1.0.0-65.rc10.module+el8.4.0+11031+7edfb656RHSA-2021:2371
Red Hat Enterprise Linux 8skopeoFixed1:1.2.2-10.module+el8.4.0+11311+9da8acfbRHSA-2021:2370
Red Hat Enterprise Linux 8skopeo-testsFixed1:0.1.41-4.module+el8.4.0+10193+e90fd8ebRHSA-2021:2370
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.1.8-1.module+el8.4.0+11310+8c67a752RHSA-2021:2291
Red Hat Enterprise Linux 8toolboxFixed0:0.0.8-1.module+el8.4.0+11311+9da8acfbRHSA-2021:2291
Red Hat Enterprise Linux 8udicaFixed0:0.2.4-1.module+el8.4.0+11311+9da8acfbRHSA-2021:2291
AlmaLinux 8cockpit-podmanFixed11-1.module_el8.5.0+108+00865455ALSA-2021:2291
AlmaLinux 8conmonFixed2:2.0.26-3.module_el8.7.0+3406+a17c4180ALSA-2021:2291
AlmaLinux 8container-selinuxFixed2:2.130.0-1.module_el8.5.0+108+00865455ALSA-2021:2291
AlmaLinux 8containernetworking-pluginsFixed0.9.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:2371
AlmaLinux 8containers-commonFixed1:0.1.41-4.module_el8.5.0+2635+e4386a39ALSA-2021:2291
AlmaLinux 8critFixed3.12-9.module_el8.5.0+119+9a9ec082ALSA-2021:2291
AlmaLinux 8criuFixed3.12-9.module_el8.5.0+119+9a9ec082ALSA-2021:2370
AlmaLinux 8fuse-overlayfsFixed1.4.0-2.module_el8.6.0+2876+9ed4eae2ALSA-2021:2291
AlmaLinux 8libslirpFixed4.3.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:2371
AlmaLinux 8libslirp-develFixed4.3.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:2370
AlmaLinux 8python-podman-apiFixed1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455ALSA-2021:2291
AlmaLinux 8python3-criuFixed3.15-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:2291
AlmaLinux 8skopeoFixed1:0.1.41-4.module_el8.5.0+2635+e4386a39ALSA-2021:2291
AlmaLinux 8skopeo-testsFixed1:0.1.41-4.module_el8.5.0+108+00865455ALSA-2021:2291
AlmaLinux 8slirp4netnsFixed1.1.8-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:2370
AlmaLinux 8toolboxFixed0.0.7-1.module_el8.5.0+2635+e4386a39ALSA-2021:2291
AlmaLinux 8udicaFixed0.2.4-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:2291
Rocky Linux 8buildahFixed0:1.19.7-2.module+el8.4.0+556+40122d08RLSA-2021:2370
Rocky Linux 8cockpit-podmanFixed0:11-1.module+el8.4.0+559+c02fa3b2RLSA-2021:2370
Rocky Linux 8conmonFixed2:2.0.26-3.module+el8.7.0+1076+9b1c11c1RLSA-2021:2291
Rocky Linux 8container-selinuxFixed2:2.130.0-1.module+el8.5.0+770+e2f49861RLSA-2021:2370
Rocky Linux 8containernetworking-pluginsFixed0:0.9.1-1.module+el8.6.0+783+10209741RLSA-2021:2291
Rocky Linux 8criuFixed0:3.15-1.module+el8.7.0+1076+9b1c11c1RLSA-2021:2370
Rocky Linux 8crunFixed0:0.18-2.module+el8.4.0+556+40122d08RLSA-2021:2370
Rocky Linux 8fuse-overlayfsFixed0:0.7.8-1.module+el8.4.0+559+c02fa3b2RLSA-2021:2291
Rocky Linux 8libslirpFixed0:4.3.1-1.module+el8.7.0+1076+9b1c11c1RLSA-2021:2370
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.0-1.module+el8.4.0+558+7340b765RLSA-2021:2371
Rocky Linux 8podmanFixed0:3.0.1-7.module+el8.5.0+734+8397cf81RLSA-2021:2371
Rocky Linux 8python-podman-apiFixed0:1.2.0-0.2.gitd0a45fe.module+el8.5.0+770+e2f49861RLSA-2021:2291
Rocky Linux 8runcFixed0:1.0.0-73.rc93.module+el8.4.0+556+40122d08RLSA-2021:2370
Rocky Linux 8skopeoFixed1:1.2.2-7.module+el8.4.0+558+7340b765RLSA-2021:2371
Rocky Linux 8slirp4netnsFixed0:1.1.8-1.module+el8.7.0+1076+9b1c11c1RLSA-2021:2371
Rocky Linux 8toolboxFixed0:0.0.7-1.module+el8.5.0+770+e2f49861RLSA-2021:2371
Rocky Linux 8udicaFixed0:0.2.4-1.module+el8.4.0+556+40122d08RLSA-2021:2371
Alpine Linux 3.24k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.24runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.23k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.23runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.22k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.22runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.21k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.21runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.20k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.20runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.19k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.19runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.18k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.18runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.17k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.17runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.16k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.16runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.15k3sFixed1.21.1.1-r0ALPINE-CVE-2021-30465
Alpine Linux 3.15runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.14runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.13runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Alpine Linux 3.12runcFixed1.0.0_rc95-r0ALPINE-CVE-2021-30465
Go librarygithub.com/opencontainers/runcFixed1.0.0-rc95GHSA-c3xm-pvg7-gh7r

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.