cve.bz

CVE-2023-27561

7.0 highExploit referenceEPSS 0.4%Fix available

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

On this page
runc through 1.1.4 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. NOTE: this issue exists because of a CVE-2019-19921 regression.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th 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: total, assessed 2024-04-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-706 Use of Incorrectly-Resolved Name or Reference
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/opencontainers/runc (Go): fixed in 1.1.5
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-27561 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-27561?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-27561?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-27561 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
redhat:openshift_container_platform4.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vpvm-3wq2-2wvmGogithub.com/opencontainers/runc>=1.0.0-rc95 <1.1.51.1.5
GO-2023-1627Gogithub.com/opencontainers/runc>=1.0.0-rc95 <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-27561
Ubuntu18.04:LTSrunc1.1.4-0ubuntu1~18.04.2UBUNTU-CVE-2023-27561 USN-6088-1
Ubuntu20.04:LTSrunc1.1.4-0ubuntu1~20.04.3UBUNTU-CVE-2023-27561 USN-6088-1
Ubuntu22.04:LTSrunc1.1.4-0ubuntu1~22.04.3UBUNTU-CVE-2023-27561 USN-6088-1
UbuntuPro:16.04:LTSrunc1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4UBUNTU-CVE-2023-27561 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
44 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
openSUSETumbleweedkubernetes1.271.27.2-1.1openSUSE-SU-2024:12992-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-27561
Alpinev3.18, v3.19, v3.20 and 4 morerunc1.1.4-r7ALPINE-CVE-2023-27561
Azure Linux2moby-runc1.1.5-1AZL-25574

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 vulnerability in runc, related to Incorrect Access Control in libcontainer/rootfs_linux.go, is classified as a moderate severity issue due to its prerequisites for exploitation and the level of access required by an attacker. To exploit this vulnerability, an attacker must have the capability to spawn two containers with custom volume-mount configurations and execute custom images within these containers. This restricts the attack vector to scenarios where an attacker already has a certain level of access to the container environment. Additionally, the vulnerability leads to an escalation of privileges, potentially allowing an attacker to gain elevated permissions on the host system. While the impact of privilege escalation is significant, the specific conditions required for successful exploitation mitigate the overall severity to moderate.

This CVE exists because of a CVE-2019-19921 regression.

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 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 OpenShift Container Platform 4.13runc-4:1.1.6-4.rhaos4.13.el8Fixed 2023-06-23RHSA-2023:3612
Red Hat OpenShift Container Platform 4.14openshift4/ose-vsphere-csi-driver-syncer-rhel8:v4.14.0-202310201027.p0.ga5ed57f.assembly.streamFixed 2023-10-31RHSA-2023:5006
Red Hat Enterprise Linux 7runcOut of support scope
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 4openshift4/ose-podNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-testsWill not fix
Red Hat OpenShift Container Platform Assisted Installer 1rhai-tech-preview/assisted-installer-agent-rhel8Not affected
Red Hat OpenShift Container Platform Assisted Installer 1rhai-tech-preview/assisted-installer-reporter-rhel8Not affected
Red Hat OpenShift Container Platform Assisted Installer 1rhai-tech-preview/assisted-installer-rhel8Not 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-27561.

Attack patterns (CAPEC)

  • CAPEC-48 Passing Local Filenames to Functions That Expect a URL Likelihood: High · Severity: High
  • CAPEC-159 Redirect Access to Libraries Likelihood: High · Severity: Very High
  • CAPEC-177 Create files with the same name as files protected with a higher classification Severity: Very High
  • CAPEC-641 DLL Side-Loading 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