CVE-2023-25809
published medium CVSS 3.1 · 5.0rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| opencontainers | — | runc< 1.1.5 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2023-025 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2023-004 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2023-024 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-208 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | runc | Advisory build | 1:1.1.5-2.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| Alpine Linux | edge | runc | Fixed | 1.1.4-r0 | Package fix record |
| Oracle Linux | 8 | runcaarch64 · container-tools · 4.0b | Advisory build | 1:1.1.4-1.0.1.module+el8.8.0+21118+db7590d7 | ELSA-2023-12578 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | runcaarch64 | Advisory build | 1:1.1.5-2.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6938 |
| SUSE / openSUSE | SLE-12 | runcppc64le | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| Ubuntu | bionic | runc | Advisory build | 1.1.4-0ubuntu1~18.04.2 | USN-6088-1 |
| AlmaLinux | 8 | runc | Advisory build | 1:1.1.9-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 9 | runc | Advisory build | 4:1.1.9-1.el9 | ALSA-2023:6380 |
| Alpine Linux | v3.17 | runc | Fixed | 1.1.5-r0 | Package fix record |
| Alpine Linux | v3.18 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Alpine Linux | v3.19 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Alpine Linux | v3.20 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Alpine Linux | v3.21 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Alpine Linux | v3.22 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Alpine Linux | v3.23 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Alpine Linux | v3.24 | runc | Fixed | 1.1.4-r0 | Package fix record |
| Oracle Linux | 8 | runcaarch64 · container-tools · 4.0b | Advisory build | 1:1.1.5-2.module+el8.9.0+90044+a34bc939 | ELSA-2023-6938 |
| Oracle Linux | 8 | runcaarch64 · container-tools · ol8 is enabled | Advisory build | 1:1.1.4-1.0.1.module+el8.8.0+21119+51f68ed8 | ELSA-2023-12579 |
| Oracle Linux | 8 | runcaarch64 · container-tools · ol8 is enabled | Advisory build | 1:1.1.9-1.module+el8.9.0+90021+ce997450 | ELSA-2023-6939 |
| Oracle Linux | 8 | runcx86_64 · container-tools · 4.0b | Advisory build | 1:1.1.4-1.0.1.module+el8.8.0+21118+db7590d7 | ELSA-2023-12578 |
| Oracle Linux | 8 | runcx86_64 · container-tools · 4.0b | Advisory build | 1:1.1.5-2.module+el8.9.0+90044+a34bc939 | ELSA-2023-6938 |
| Oracle Linux | 8 | runcx86_64 · container-tools · ol8 is enabled | Advisory build | 1:1.1.4-1.0.1.module+el8.8.0+21119+51f68ed8 | ELSA-2023-12579 |
| Oracle Linux | 8 | runcx86_64 · container-tools · ol8 is enabled | Advisory build | 1:1.1.9-1.module+el8.9.0+90021+ce997450 | ELSA-2023-6939 |
| Oracle Linux | 9 | runcaarch64 | Advisory build | 4:1.1.9-1.el9 | ELSA-2023-6380 |
| Oracle Linux | 9 | runcx86_64 | Advisory build | 4:1.1.9-1.el9 | ELSA-2023-6380 |
| Red Hat Enterprise Linux | RHEL-8 | runcaarch64 | Advisory build | 1:1.1.9-1.module+el8.9.0+19648+0d5ae0ec | RHSA-2023:6939 |
| Red Hat Enterprise Linux | RHEL-8 | runcppc64le | Advisory build | 1:1.1.5-2.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6938 |
| Red Hat Enterprise Linux | RHEL-8 | runcppc64le | Advisory build | 1:1.1.9-1.module+el8.9.0+19648+0d5ae0ec | RHSA-2023:6939 |
| Red Hat Enterprise Linux | RHEL-8 | runcs390x | Advisory build | 1:1.1.5-2.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6938 |
| Red Hat Enterprise Linux | RHEL-8 | runcs390x | Advisory build | 1:1.1.9-1.module+el8.9.0+19648+0d5ae0ec | RHSA-2023:6939 |
| Red Hat Enterprise Linux | RHEL-8 | runcsrc | Advisory build | 1:1.1.5-2.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6938 |
| Red Hat Enterprise Linux | RHEL-8 | runcsrc | Advisory build | 1:1.1.9-1.module+el8.9.0+19648+0d5ae0ec | RHSA-2023:6939 |
| Red Hat Enterprise Linux | RHEL-8 | runcx86_64 | Advisory build | 1:1.1.5-2.module+el8.9.0+19104+fcef53a3 | RHSA-2023:6938 |
| Red Hat Enterprise Linux | RHEL-8 | runcx86_64 | Advisory build | 1:1.1.9-1.module+el8.9.0+19648+0d5ae0ec | RHSA-2023:6939 |
| Red Hat Enterprise Linux | RHEL-9 | runcaarch64 | Advisory build | 4:1.1.9-1.el9 | RHSA-2023:6380 |
| Red Hat Enterprise Linux | RHEL-9 | runcppc64le | Advisory build | 4:1.1.9-1.el9 | RHSA-2023:6380 |
| Red Hat Enterprise Linux | RHEL-9 | runcs390x | Advisory build | 4:1.1.9-1.el9 | RHSA-2023:6380 |
| Red Hat Enterprise Linux | RHEL-9 | runcsrc | Advisory build | 4:1.1.9-1.el9 | RHSA-2023:6380 |
| Red Hat Enterprise Linux | RHEL-9 | runcx86_64 | Advisory build | 4:1.1.9-1.el9 | RHSA-2023:6380 |
| SUSE / openSUSE | SLE-12 | runcs390x | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12 | runcx86_64 | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcppc64le | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcs390x | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcx86_64 | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcppc64le | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcs390x | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcx86_64 | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcppc64le | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcs390x | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcx86_64 | Advisory build | 1.1.5-16.29.1 | SUSE-SU-2023:1726-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcppc64le | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcs390x | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP1 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | runcppc64le | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | runcs390x | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | runcppc64le | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | runcs390x | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | runcppc64le | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | runcs390x | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-5 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-5 | runcs390x | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | SLE-5 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | runcppc64le | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | runcs390x | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | runcaarch64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | runcx86_64 | Advisory build | 1.1.5-150000.41.1 | SUSE-SU-2023:2003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | runcaarch64 | Advisory build | 1.1.5-1.1 | OPENSUSE-SU-2024:12826-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | runcppc64le | Advisory build | 1.1.5-1.1 | OPENSUSE-SU-2024:12826-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | runcs390x | Advisory build | 1.1.5-1.1 | OPENSUSE-SU-2024:12826-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | runcx86_64 | Advisory build | 1.1.5-1.1 | OPENSUSE-SU-2024:12826-1 |
| Ubuntu | focal | runc | Advisory build | 1.1.4-0ubuntu1~20.04.3 | USN-6088-1 |
| Ubuntu | jammy | runc | Advisory build | 1.1.4-0ubuntu1~22.04.3 | USN-6088-1 |
| Ubuntu | xenial | runc | Advisory build | 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4 | USN-6088-2 |
| AlmaLinux | 8 | aardvark-dns | Advisory build | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | aardvark-dns | Advisory build | 2:1.7.0-1.module_el8.9.0+3657+d86e192f | ALSA-2023:6939 |
| AlmaLinux | 8 | buildah | Advisory build | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | buildah | Advisory build | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | buildah-tests | Advisory build | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | buildah-tests | Advisory build | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | cockpit-podman | Advisory build | 46-1.module_el8.7.0+3344+5bcd850f | ALSA-2023:6938 |
| AlmaLinux | 8 | cockpit-podman | Advisory build | 75-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | conmon | Advisory build | 2:2.1.4-2.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | conmon | Advisory build | 3:2.1.8-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | container-selinux | Advisory build | 2:2.205.0-3.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | container-selinux | Advisory build | 2:2.221.0-1.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | containernetworking-plugins | Advisory build | 1:1.1.1-5.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | containernetworking-plugins | Advisory build | 1:1.3.0-4.module_el8.9.0+3643+9234dc3b | ALSA-2023:6939 |
| AlmaLinux | 8 | containers-common | Advisory build | 2:1-38.module_el8.9.0+3627+db8ec155 | ALSA-2023:6938 |
| AlmaLinux | 8 | containers-common | Advisory build | 2:1-54.module_el8.9.0+3673+0c64b403 | ALSA-2023:6939 |
| AlmaLinux | 8 | crit | Advisory build | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2023:6938 |
| AlmaLinux | 8 | crit | Advisory build | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2023:6938 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
runc is a CLI tool for spawning and running containers according to the OCI specification. In affected versions it was found that rootless runc makes `/sys/fs/cgroup` writable in following conditons: 1. when runc is executed inside the user namespace, and the `config.json` does not specify the cgroup namespace to be unshared (e.g.., `(docker|podman|nerdctl) run --cgroupns=host`, with Rootless Docker/Podman/nerdctl) or 2. when runc is executed outside the user namespace, and `/sys` is mounted with `rbind, ro` (e.g., `runc spec --rootless`; this condition is very rare). A container may gain the write access to user-owned cgroup hierarchy `/sys/fs/cgroup/user.slice/...` on the host . Other users's cgroup hierarchies are not affected. Users are advised to upgrade to version 1.1.5. Users unable to upgrade may unshare the cgroup namespace (`(docker|podman|nerdctl) run --cgroupns=private)`. This is the default behavior of Docker/Podman/nerdctl on cgroup v2 hosts. or add `/sys/fs/cgroup` to `maskedPaths`.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| opencontainers | runc | < 1.1.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-281 CWE-281: Improper Preservation of Permissions
References
2Provider assertions
3GitHub_M · cna
rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 53891abbbe48c5491b956f007617de0dc42980a41e34310e491d42ea51743bce
- Ingested
- 23 Sep 2026, 08:07:05 UTC
- Source record
- Official CVE record