CVE-2023-27561 Opencontainers runc Incorrect Authorization vulnerability

High 7.0 Published Updated

An attacker with container spawn privileges can escalate privileges via incorrect access control in runc's rootfs handling.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-27561?

CVE-2023-27561 is a high-severity vulnerability in Debian Debian Linux, published on 3 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-706

Which versions are affected by CVE-2023-27561?

3 open source packages ship an affected version, including github.com/opencontainers/runc. It affects 4 products.

PackageAffectedFixed in
github.com/opencontainers/runc GoFrom 1.0.0-rc951.1.5
github.com/opencontainers/runc GoFrom 1.0.0-rc951.1.5
github.com/opencontainers/runc GoFrom 1.0.0-rc951.1.5
Linux distribution packages (1)
kubernetes1.27 openSUSE:TumbleweedAll versions1.27.2-1.1

Products include Debian Debian Linux, Linuxfoundation Runc, Redhat Enterprise Linux, Redhat Openshift Container Platform.

How do I fix CVE-2023-27561?

Upgrade github.com/opencontainers/runc to 1.1.5 or later.

Is CVE-2023-27561 being exploited?

There is no known exploitation of CVE-2023-27561 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-25574, CLEANSTART-2026-IS70911, DEBIAN-CVE-2023-27561, GHSA-vpvm-3wq2-2wvm, GO-2023-1627, UBUNTU-CVE-2023-27561 and 1 more.

Is CVE-2023-27561 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free