Skip to content
OpenAdvisories
Medium · 5.9 CVE-2019-19921 EUVD-2021-1060GHSA-fh74-hm69-rqjwGO-2021-0087

opencontainers runc contains procfs race condition with a shared volume mount

Published Feb 12, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

runc through 1.0.0-rc9 has Incorrect Access Control leading to Escalation of Privileges, related to libcontainer/rootfs_linux.go. To exploit this, an attacker must be able to spawn two containers with custom volume-mount configurations, and be able to run custom images. (This vulnerability does not affect Docker due to an implementation detail that happens to block the attack.)

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 runc 1.0.0~rc10+dfsg1-1 —
Debian 13 runc 1.0.0~rc10+dfsg1-1 —
Debian 12 runc 1.0.0~rc10+dfsg1-1 —
Debian 10 runc 1.0.0~rc6+dfsg1-3+deb10u2 DLA-3369-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS runc 1.0.0~rc10-0ubuntu1 —
Ubuntu 18.04 LTS runc 1.0.0~rc10-0ubuntu1~18.04.2 USN-4297-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS runc 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4 USN-6088-2
ReleasePackageFixed inAdvisory
RHEL 8 buildah +1 1.11.6-7.module+el8.2.0+5856+b8046c6d RHSA-2020:1650
RHEL 8 cockpit-podman 12-1.module+el8.2.0+5950+6d183a6a RHSA-2020:1650
RHEL 8 conmon 2:2.0.6-1.module+el8.2.0+5182+3136e5d4 RHSA-2020:1650
RHEL 8 container-selinux 2:2.124.0-1.module+el8.2.0+5182+3136e5d4 RHSA-2020:1650
RHEL 8 containernetworking-plugins 0.8.3-5.module+el8.2.0+5201+6b31f0d9 RHSA-2020:1650
RHEL 8 crit +2 3.12-9.module+el8.2.0+5029+3ac48e7d RHSA-2020:1650
RHEL 8 fuse-overlayfs 0.7.2-5.module+el8.2.0+6060+9dbc027d RHSA-2020:1650
RHEL 8 podman +3 1.6.4-10.module+el8.2.0+6063+e761893a RHSA-2020:1650
RHEL 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.2.0+5201+6b31f0d9 RHSA-2020:1650
RHEL 8 runc 1.0.0-65.rc10.module+el8.2.0+5762+aaee29fb RHSA-2020:1650
RHEL 8 skopeo +2 1:0.1.40-10.module+el8.2.0+5955+6cd70ceb RHSA-2020:1650
RHEL 8 slirp4netns 0.4.2-3.git21fdece.module+el8.2.0+5658+9a15711d RHSA-2020:1650
RHEL 8 toolbox 0.0.7-1.module+el8.2.0+6096+9c3f08f3 RHSA-2020:1650
RHEL 8 udica 0.2.1-2.module+el8.2.0+4896+8f613c81 RHSA-2020:1650
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Extras Other 7 runc 1.0.0-66.rc8.el7_7 RHSA-2020:0942
Red Hat OpenShift 4 runc 1.0.0-63.rc8.rhaos4.1.git3cbe540.el8_0 RHSA-2020:1485, RHSA-2020:0695, RHSA-2020:0688

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 runc 4:1.1.9-1.el9 ALSA-2023:6380
AlmaLinux 8 buildah +1 1:1.24.6-7.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 cockpit-podman 46-1.module_el8.7.0+3344+5bcd850f ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 conmon 2:2.1.4-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 container-selinux 2:2.205.0-3.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 containernetworking-plugins 1:1.1.1-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 containers-common 2:1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 crit +2 3.12-9.module_el8.3.0+2044+12421f43 ALSA-2023:6939, ALSA-2023:6938, ALSA-2020:1650
AlmaLinux 8 criu-libs +1 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 crun 1.8.3-1.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 fuse-overlayfs 1.9-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 libslirp +1 4.4.0-1.module_el8.6.0+2877+8e437bf5 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 netavark +1 2:1.0.1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 oci-seccomp-bpf-hook 1.2.5-2.module_el8.8.0+3468+16b86c82 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 podman +6 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455 ALSA-2020:1650
AlmaLinux 8 python3-podman 4.0.0-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 runc 1:1.1.5-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 skopeo +1 2:1.6.2-8.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 slirp4netns 0.4.2-3.git21fdece.module_el8.5.0+108+00865455 ALSA-2023:6939, ALSA-2023:6938, ALSA-2020:1650
AlmaLinux 8 toolbox 0.0.7-1.module_el8.5.0+108+00865455 ALSA-2023:6939, ALSA-2023:6938, ALSA-2020:1650
AlmaLinux 8 toolbox-tests 0.0.99.4-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6939, ALSA-2023:6938
AlmaLinux 8 udica 0.2.1-2.module_el8.5.0+108+00865455 ALSA-2023:6939, ALSA-2023:6938, ALSA-2020:1650

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 container-selinux 2:2.124.0-1.gitf958d0c.module+el8.5.0+681+c9a1951f RLSA-2020:1650
Rocky Linux 8 criu 3.12-9.module+el8.4.0+557+48ba8b2f RLSA-2020:1650
Rocky Linux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.4.0+559+c02fa3b2 RLSA-2020:1650
Rocky Linux 8 runc 1.0.0-65.rc10.module+el8.4.0+559+c02fa3b2 RLSA-2020:1650
Rocky Linux 8 slirp4netns 0.4.2-3.git21fdece.module+el8.4.0+536+994a2182 RLSA-2020:1650
Rocky Linux 8 toolbox 0.0.7-1.module+el8.4.0+559+c02fa3b2 RLSA-2020:1650
Rocky Linux 8 udica 0.2.1-2.module+el8.4.0+559+c02fa3b2 RLSA-2020:1650
ReleasePackageFixed inAdvisory
SLES 15 SP1 docker-runc 1.0.0rc8+gitr3917_3e425f80a8c9-6.32.1 SUSE-SU-2020:0375-1
SLES 15 SP1 runc 1.0.0~rc10-1.9.1 SUSE-SU-2020:0944-1
SLES 12 containerd 1.4.4-16.38.1 SUSE-SU-2021:1458-1
SLES 12 docker 20.10.6_ce-98.66.1 SUSE-SU-2021:1458-1
SLES 12 docker-runc 1.0.0rc8+gitr3917_3e425f80a8c9-1.40.1 SUSE-SU-2020:0376-1
SLES 12 runc 1.0.0~rc93-16.8.1 SUSE-SU-2021:1458-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed runc 1.0.2-1.2 openSUSE-SU-2024:11358-1
openSUSE Leap 15.1 docker-runc 1.0.0rc8+gitr3917_3e425f80a8c9-lp151.3.15.1 openSUSE-SU-2020:0219-1
ReleasePackageFixed inAdvisory
Alpine v3.24 containerd 1.3.3-r0 —
Alpine v3.24 runc 1.0.0_rc10-r0 —
Alpine v3.23 containerd 1.3.3-r0 —
Alpine v3.23 runc 1.0.0_rc10-r0 —
Alpine v3.22 containerd 1.3.3-r0 —
Alpine v3.22 runc 1.0.0_rc10-r0 —
Alpine v3.21 containerd 1.3.3-r0 —
Alpine v3.21 runc 1.0.0_rc10-r0 —
Alpine v3.20 containerd 1.3.3-r0 —
Alpine v3.20 runc 1.0.0_rc10-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 containerd 1.3.3-r0 —
Alpine v3.19 runc 1.0.0_rc10-r0 —
Alpine v3.18 containerd 1.3.3-r0 —
Alpine v3.18 runc 1.0.0_rc10-r0 —
Alpine v3.17 containerd 1.3.3-r0 —
Alpine v3.17 runc 1.0.0_rc10-r0 —
Alpine v3.16 containerd 1.3.3-r0 —
Alpine v3.16 runc 1.0.0_rc10-r0 —
Alpine v3.15 containerd 1.3.3-r0 —
Alpine v3.15 runc 1.0.0_rc10-r0 —
Alpine v3.14 containerd 1.3.3-r0 —
Alpine v3.14 runc 1.0.0_rc10-r0 —
Alpine v3.13 containerd 1.3.3-r0 —
Alpine v3.13 runc 1.0.0_rc10-r0 —
Alpine v3.12 containerd 1.3.3-r0 —
Alpine v3.12 runc 1.0.0_rc10-r0 —
Alpine v3.11 containerd 1.3.3-r0 —
Alpine v3.11 runc 1.0.0_rc10 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 buildah +1 1.11.6-7.0.1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 cockpit-podman 12-1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 conmon 2:2.0.6-1.0.1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 container-selinux 2:2.124.0-1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 containernetworking-plugins 0.8.3-5.0.1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 crit +2 3.12-9.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 fuse-overlayfs 0.7.2-5.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 podman +3 1.6.4-10.0.1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 runc 1.0.0-65.rc10.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 skopeo +2 1:0.1.40-10.0.1.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 slirp4netns 0.4.2-3.git21fdece.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650
Oracle Linux 8 udica 0.2.1-2.module+el8.2.0+5584+b2b2d3fb ELSA-2020-1650

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/opencontainers/runc < 1.0.0-rc9.0.20200122160610-2fc03cc11c77 1.0.0-rc9.0.20200122160610-2fc03cc11c77 GHSA-fh74-hm69-rqjw

Advisories 23

References