VDB

CVE-2023-25809

CVE-2023-25809 PUBLISHED CVSS 6.300000190734863 MEDIUM

rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc

Record from NVD · Published March 29, 2023

github.com/opencontainers/runc/libcontainer is fixed in 1.1.5 (Go Modules)

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`.

EPSS 0.32% · 25.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/opencontainers/runc/libcontainerGo Modules1.1.5
github.com/opencontainers/runcGo Modulesv1.1.5, 1.1.5
runcAmazon Linux1.1.5-1.amzn2023.0.1
ctopWolfi0.7.7-r13
podmanWolfi5.2.2-r1
ctopChainguard0.7.7-r13
podmanChainguard5.2.2-r1
runcAlpine1.1.5-r0, 1.1.4-r0
runclinuxfoundation1.1.5

Risk scores

CVSS 3.1
6.300000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
EPSS Score
0.32%
25.3th percentile

Affected products

VendorProductVersions
linuxfoundationrunc0

Timeline

  • Mar 29, 2023 CVE Published
  • Mar 30, 2023 EPSS Score (30 in total, the first dated here)
  • Nov 27, 2025 CVE Updated
  • Feb 19, 2026 Security Advisory (13 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (8 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-25809
vulnetix vdb fixes CVE-2023-25809

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-25809/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›