cve.bz

CVE-2023-28642 linuxfoundation runc: Link Following

7.8 highEPSS 0.3%Fix available

High (7.8) in linuxfoundation runc. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/runc 1.1.5.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-281 Improper Preservation of Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28642 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28642?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28642?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28642 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:runcbefore 1.1.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g2j6-57v7-gm8cGogithub.com/opencontainers/runc<1.1.51.1.5
GO-2023-1683Gogithub.com/opencontainers/runc<1.1.51.1.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10runc1.0.0~rc6+dfsg1-3+deb10u2DLA-3369-1
Debian12, 13, 14runc1.1.5+ds1-1DEBIAN-CVE-2023-28642
Ubuntu18.04:LTSrunc1.1.4-0ubuntu1~18.04.2UBUNTU-CVE-2023-28642 USN-6088-1
Ubuntu20.04:LTSrunc1.1.4-0ubuntu1~20.04.3UBUNTU-CVE-2023-28642 USN-6088-1
Ubuntu22.04:LTSrunc1.1.4-0ubuntu1~22.04.3UBUNTU-CVE-2023-28642 USN-6088-1
UbuntuPro:16.04:LTSrunc1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4UBUNTU-CVE-2023-28642 USN-6088-2
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-7.module+el8.9.0+19784+443be299RHSA-2023:6938
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.31.3-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcockpit-podman0:75-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-2.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.8-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.205.0-3.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.221.0-1.module+el8.9.0+19685+019f3589RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-5.module+el8.9.0+19784+443be299RHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.3.0-4.module+el8.9.0+19649+5879504aRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-38.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-54.module+el8.9.0+19761+326da906RHSA-2023:6939
43 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 morerunc1.1.5-150000.41.1SUSE-SU-2023:2003-1
SUSELinux Enterprise Module for Containers 12runc1.1.5-16.29.1SUSE-SU-2023:1726-1
openSUSELeap 15.4, Leap Micro 5.3runc1.1.5-150000.41.1SUSE-SU-2023:2003-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250807T150727-1.1openSUSE-SU-2025:15424-1
openSUSETumbleweedrunc1.1.5-1.1openSUSE-SU-2024:12826-1
AlmaLinux8aardvark-dns2:1.7.0-1.module_el8.9.0+3657+d86e192fALSA-2023:6939
AlmaLinux8buildah, buildah-tests1:1.24.6-7.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8buildah, buildah-tests1:1.31.3-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2023:6938
AlmaLinux8cockpit-podman75-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8conmon2:2.1.4-2.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8conmon3:2.1.8-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8container-selinux2:2.205.0-3.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8container-selinux2:2.221.0-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containernetworking-plugins1:1.1.1-5.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8containernetworking-plugins1:1.3.0-4.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containers-common2:1-38.module_el8.9.0+3627+db8ec155ALSA-2023:6938
30 more for AlmaLinux in the JSON.
Rocky Linux8buildah1:1.24.6-7.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8cockpit-podman0:46-1.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8conmon2:2.1.4-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8container-selinux2:2.205.0-3.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8containernetworking-plugins1:1.1.1-5.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8containers-common2:1-38.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8criu0:3.15-3.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8crun0:1.8.3-1.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8fuse-overlayfs0:1.9-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8libslirp0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2023:6938 RLSA-2023:6939
Rocky Linux8oci-seccomp-bpf-hook0:1.2.5-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8podman2:4.0.2-24.module+el8.9.0+1445+07728297RLSA-2023:6938
4 more for Rocky Linux in the JSON.
Alpinev3.17runc1.1.5-r0ALPINE-CVE-2023-28642
Alpinev3.18, v3.19, v3.20 and 4 morerunc1.1.4-r0ALPINE-CVE-2023-28642
Azure Linux2moby-runc1.1.5-1AZL-25850

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The symlink vulnerability in runc allowing for the bypassing of AppArmor protections by manipulating the /proc symlink poses a moderate severity issue due to its potential impact on container isolation and security boundaries. While the exploitation requires specific mount configurations and access to the container's filesystem, it can lead to unauthorized access to host resources and potential privilege escalation within the containerized environment. This could enable attackers to compromise the integrity and confidentiality of other containers or the host system. Although the vulnerability does not allow direct remote code execution, its exploitation can result in significant security risks within containerized infrastructures, warranting a moderate severity rating.

Red Hat's mitigation

Avoid using an untrusted container image.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:4.0-8090020230828093056.e7857ab1Fixed 2023-11-14RHSA-2023:6938
Red Hat Enterprise Linux 8container-tools:rhel8-8090020230825121312.e7857ab1Fixed 2023-11-14RHSA-2023:6939
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportcontainer-tools:3.0-8040020240104111259.c0c392d5Fixed 2024-01-30RHSA-2024:0564
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicecontainer-tools:3.0-8040020240104111259.c0c392d5Fixed 2024-01-30RHSA-2024:0564
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionscontainer-tools:3.0-8040020240104111259.c0c392d5Fixed 2024-01-30RHSA-2024:0564
Red Hat Enterprise Linux 9runc-4:1.1.9-1.el9Fixed 2023-11-07RHSA-2023:6380
Red Hat OpenShift Container Platform 4.13openshift4/ose-vsphere-csi-driver-syncer-rhel8:v4.13.0-202304190216.p0.g6f4295b.assembly.streamFixed 2023-05-17RHSA-2023:1326
Red Hat Enterprise Linux 7runcWill not fix
Red Hat Enterprise Linux 8container-tools:3.0/runcAffected
Red Hat OpenShift Container Platform 3.11atomic-openshiftOut of support scope
Red Hat OpenShift Container Platform 3.11runcOut of support scope
Red Hat OpenShift Container Platform 4microshiftNot affected
Red Hat OpenShift Container Platform 4openshiftNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-podNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-testsNot affected
Red Hat OpenShift Container Platform 4runcNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28642.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON