CVE-2023-28642AppArmor bypass with symlinked /proc in runc
runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.
What to do
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | runc | Fixed | 1.1.4-0ubuntu1~22.04.3 | UBUNTU-CVE-2023-28642 |
| Ubuntu 20.04 | runc | Fixed | 1.1.4-0ubuntu1~20.04.3 | UBUNTU-CVE-2023-28642 |
| Ubuntu 18.04 | runc | Fixed | 1.1.4-0ubuntu1~18.04.2 | UBUNTU-CVE-2023-28642 |
| Ubuntu 16.04 | runc | Fix pending | 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-28642 |
| Debian 14 | runc | Fixed | 1.1.5+ds1-1 | DEBIAN-CVE-2023-28642 |
| Debian 13 | runc | Fixed | 1.1.5+ds1-1 | DEBIAN-CVE-2023-28642 |
| Debian 12 | runc | Fixed | 1.1.5+ds1-1 | DEBIAN-CVE-2023-28642 |
| Red Hat Enterprise Linux 9 | runc | Fixed | 4:1.1.9-1.el9 | RHSA-2023:6380 |
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.7.0-1.module+el8.9.0+19244+655f84ee | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 1:1.24.6-7.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 1:1.31.3-1.module+el8.9.0+19761+326da906 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:46-1.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 2:2.1.4-2.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.221.0-1.module+el8.9.0+19685+019f3589 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.1.1-5.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-38.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.15-3.module+el8.9.0+19243+df4d9ff2 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-4.module+el8.9.0+19090+d2921118 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.15-3.module+el8.9.0+19243+df4d9ff2 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-4.module+el8.9.0+19090+d2921118 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.8.3-1.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.12-1.module+el8.9.0+19090+d2921118 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+19243+df4d9ff2 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-1.module+el8.9.0+19243+df4d9ff2 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.7.0-1.module+el8.9.0+19244+655f84ee | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.5-2.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 2:4.0.2-24.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 2:4.0.2-24.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 3:4.6.1-4.module+el8.9.0+19761+326da906 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 2:4.0.2-24.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 2:4.0.2-24.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 2:4.0.2-24.module+el8.9.0+19784+443be299 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 3:4.6.1-4.module+el8.9.0+19761+326da906 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.0.0-2.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-4.module+el8.9.0+19090+d2921118 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.0.0-2.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | runc | Fixed Affected | 1:1.1.5-2.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.6.2-8.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.13.3-1.module+el8.9.0+19761+326da906 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.1.8-3.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.4-5.module+el8.9.0+19655+b08391f8 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.4-5.module+el8.9.0+19655+b08391f8 | RHSA-2023:6938 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-4.module+el8.9.0+19098+6e7a5e3f | RHSA-2023:6939 |
| Red Hat Enterprise Linux 7 | runc | Will not fix Will not fix | ||
| AlmaLinux 9 | runc | Fixed | 4:1.1.9-1.el9 | ALSA-2023:6380 |
| AlmaLinux 8 | aardvark-dns | Fixed | 2:1.7.0-1.module_el8.9.0+3657+d86e192f | ALSA-2023:6938 |
| AlmaLinux 8 | buildah | Fixed | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | buildah-tests | Fixed | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | cockpit-podman | Fixed | 46-1.module_el8.7.0+3344+5bcd850f | ALSA-2023:6939 |
| AlmaLinux 8 | conmon | Fixed | 3:2.1.8-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | container-selinux | Fixed | 2:2.221.0-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | containernetworking-plugins | Fixed | 1:1.1.1-5.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | containers-common | Fixed | 2:1-54.module_el8.9.0+3673+0c64b403 | ALSA-2023:6938 |
| AlmaLinux 8 | crit | Fixed | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2023:6939 |
| AlmaLinux 8 | criu | Fixed | 3.18-4.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | criu-devel | Fixed | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2023:6938 |
| AlmaLinux 8 | criu-libs | Fixed | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2023:6938 |
| AlmaLinux 8 | crun | Fixed | 1.8.7-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | fuse-overlayfs | Fixed | 1.9-2.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | libslirp | Fixed | 4.4.0-1.module_el8.8.0+3615+3543c705 | ALSA-2023:6938 |
| AlmaLinux 8 | libslirp-devel | Fixed | 4.4.0-1.module_el8.6.0+2877+8e437bf5 | ALSA-2023:6938 |
| AlmaLinux 8 | netavark | Fixed | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | oci-seccomp-bpf-hook | Fixed | 1.2.5-2.module_el8.8.0+3468+16b86c82 | ALSA-2023:6939 |
| AlmaLinux 8 | podman | Fixed | 2:4.0.2-24.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | podman-catatonit | Fixed | 2:4.0.2-24.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | podman-docker | Fixed | 2:4.0.2-24.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | podman-gvproxy | Fixed | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | podman-plugins | Fixed | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | podman-remote | Fixed | 3:4.6.1-4.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | podman-tests | Fixed | 2:4.0.2-24.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | python3-criu | Fixed | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2023:6938 |
| AlmaLinux 8 | python3-podman | Fixed | 4.0.0-2.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | runc | Fixed | 1:1.1.9-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | skopeo | Fixed | 2:1.6.2-8.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| AlmaLinux 8 | skopeo-tests | Fixed | 2:1.13.3-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | slirp4netns | Fixed | 1.2.1-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | toolbox | Fixed | 0.0.99.4-5.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | toolbox-tests | Fixed | 0.0.99.4-5.module_el8.9.0+3643+9234dc3b | ALSA-2023:6938 |
| AlmaLinux 8 | udica | Fixed | 0.2.6-4.module_el8.9.0+3627+db8ec155 | ALSA-2023:6939 |
| Rocky Linux 8 | buildah | Fixed | 1:1.24.6-7.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:46-1.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | conmon | Fixed | 2:2.1.4-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.205.0-3.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.1.1-5.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-38.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | criu | Fixed | 0:3.15-3.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | crun | Fixed | 0:1.8.3-1.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.9-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.5-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | podman | Fixed | 2:4.0.2-24.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.0.0-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.5-2.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.1.8-3.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Rocky Linux 8 | udica | Fixed | 0:0.2.6-4.module+el8.9.0+1445+07728297 | RLSA-2023:6938 |
| Alpine Linux 3.24 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.23 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.22 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.21 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.20 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.19 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.18 | runc | Fixed | 1.1.4-r0 | ALPINE-CVE-2023-28642 |
| Alpine Linux 3.17 | runc | Fixed | 1.1.5-r0 | ALPINE-CVE-2023-28642 |
| Go library | github.com/opencontainers/runc | Fixed | 1.1.5 | GHSA-g2j6-57v7-gm8c |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- opencontainers runc: affected: < 1.1.5
References
- https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c
- https://github.com/opencontainers/runc/pull/3785
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.