PT-2023-3586 · Runc+10 · Runc+10

Akihirosuda

·

Published

2023-03-29

·

Updated

2025-08-08

·

CVE-2023-25809

CVSS v3.1

6.3

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions runc versions prior to 1.1.5
Description The issue is related to rootless runc making /sys/fs/cgroup writable under certain conditions, specifically when runc is executed inside the user namespace and the config.json does not specify the cgroup namespace to be unshared, or when runc is executed outside the user namespace and /sys is mounted with rbind, ro. This allows a container to gain write access to the user-owned cgroup hierarchy /sys/fs/cgroup/user.slice/... on the host. Other users' cgroup hierarchies are not affected.
Recommendations To resolve the issue, upgrade to version 1.1.5. For versions prior to 1.1.5, unshare the cgroup namespace by running (docker|podman|nerdctl) run --cgroupns=private. Alternatively, add /sys/fs/cgroup to maskedPaths.

Exploit

Fix

Improper Preservation of Permissions

Weakness Enumeration

Related Identifiers

ALSA-2023:6380
ALSA-2023:6938
ALSA-2023:6939
ALT-PU-2023-1576
ALT-PU-2023-1623
ALT-PU-2023-1647
AZL-25851
BDU:2023-03860
CESA-2023_6938
CESA-2023_6939
CVE-2023-25809
GHSA-M8CG-XC2P-R3FC
GO-2023-1682
MGASA-2023-0125
OESA-2023-1204
OPENSUSE-SU-2024:12826-1
OPENSUSE-SU-2025:15424-1
RHSA-2023:6380
RHSA-2023:6938
RHSA-2023:6939
RHSA-2023_6380
RHSA-2023_6938
RHSA-2023_6939
ROSA-SA-2023-2209
SUSE-SU-2023:1726-1
SUSE-SU-2023:2003-1
SUSE-SU-2023_1726-1
SUSE-SU-2023_2003-1
USN-6088-1
USN-6088-2

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Runc