ubuntu-cve-2023-25809
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-github-opencontainers-runc-dev",
"binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4"
},
{
"binary_name": "runc",
"binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "runc",
"purl": "pkg:deb/ubuntu/runc@1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0.8+dfsg-2",
"0.1.1-0ubuntu5~16.04",
"1.0.0~rc1-0ubuntu1~16.04",
"1.0.0~rc1-0ubuntu2~16.04.1",
"1.0.0~rc1-0ubuntu2~16.04.1.1",
"1.0.0~rc2-0ubuntu2~16.04.1",
"1.0.0~rc2+docker1.12.6-0ubuntu1~16.04.1",
"1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1",
"1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.2",
"1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.3",
"1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4",
"1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm1",
"1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-opencontainers-runc-dev",
"binary_version": "1.1.4-0ubuntu1~18.04.2"
},
{
"binary_name": "runc",
"binary_version": "1.1.4-0ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "runc",
"purl": "pkg:deb/ubuntu/runc@1.1.4-0ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.4-0ubuntu1~18.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.0~rc2+docker1.13.1-0ubuntu1",
"1.0.0~rc4+dfsg1-2",
"1.0.0~rc4+dfsg1-6",
"1.0.0~rc4+dfsg1-6ubuntu0.18.04.1",
"1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.1",
"1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2",
"1.0.0~rc10-0ubuntu1~18.04.1",
"1.0.0~rc10-0ubuntu1~18.04.2",
"1.0.0~rc93-0ubuntu1~18.04.1",
"1.0.0~rc93-0ubuntu1~18.04.2",
"1.0.0~rc95-0ubuntu1~18.04.1",
"1.0.0~rc95-0ubuntu1~18.04.2",
"1.0.1-0ubuntu2~18.04.1",
"1.1.0-0ubuntu1~18.04.1",
"1.1.4-0ubuntu1~18.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-opencontainers-runc-dev",
"binary_version": "1.1.4-0ubuntu1~20.04.3"
},
{
"binary_name": "runc",
"binary_version": "1.1.4-0ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "runc",
"purl": "pkg:deb/ubuntu/runc@1.1.4-0ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.4-0ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.0~rc8+git20190923.3e425f80-0ubuntu1",
"1.0.0~rc10-0ubuntu1",
"1.0.0~rc93-0ubuntu1~20.04.1",
"1.0.0~rc93-0ubuntu1~20.04.2",
"1.0.0~rc95-0ubuntu1~20.04.1",
"1.0.0~rc95-0ubuntu1~20.04.2",
"1.0.1-0ubuntu2~20.04.1",
"1.1.0-0ubuntu1~20.04.1",
"1.1.0-0ubuntu1~20.04.2",
"1.1.4-0ubuntu1~20.04.1",
"1.1.4-0ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-opencontainers-runc-dev",
"binary_version": "1.1.4-0ubuntu1~22.04.3"
},
{
"binary_name": "runc",
"binary_version": "1.1.4-0ubuntu1~22.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "runc",
"purl": "pkg:deb/ubuntu/runc@1.1.4-0ubuntu1~22.04.3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.4-0ubuntu1~22.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.1-0ubuntu2",
"1.0.1-0ubuntu3",
"1.0.3-0ubuntu1",
"1.1.0-0ubuntu1",
"1.1.0-0ubuntu1.1",
"1.1.4-0ubuntu1~22.04.1",
"1.1.4-0ubuntu1~22.04.2"
]
}
],
"aliases": [],
"details": "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\u0027s 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`.",
"id": "UBUNTU-CVE-2023-25809",
"modified": "2025-09-08T16:56:10Z",
"published": "2023-03-29T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-25809"
},
{
"type": "REPORT",
"url": "https://github.com/opencontainers/runc/security/advisories/GHSA-m8cg-xc2p-r3fc"
},
{
"type": "REPORT",
"url": "https://github.com/opencontainers/runc/commit/0e6b818a2b0d24fdb6697614e5c5f115bbe8e3a5"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6088-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6088-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-25809"
}
],
"related": [
"USN-6088-1",
"USN-6088-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-25809"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.