6.3

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

Modified
AliasesUBUNTU-CVE-2023-25809DEBIAN-CVE-2023-25809CGA-3557-cm7x-244h
Published 29-03-2023Last modified 12-02-2025

Vulnerability summary

CVE-2023-25809 is a medium (CVSS 6.3) Improper Preservation of Permissions vulnerability in linuxfoundation runc. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 24.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 29-03-2023
    PublishedVulnerability first disclosed.
  2. 12-02-2025
    Last modifiedVulnerability information updated.

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

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

25%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Runc

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard5 products
  • ctop< 0.7.7-r13
  • podman< 5.2.2-r1
  • podman-doc< 5.2.2-r1
  • runcAll versions (No fix recorded)
  • runc-docAll versions (No fix recorded)
Wolfi5 products
  • ctop< 0.7.7-r13
  • podman< 5.2.2-r1
  • podman-doc< 5.2.2-r1
  • runcAll versions (No fix recorded)
  • runc-docAll versions (No fix recorded)
Alpine1 product
  • runc< 1.1.5-r0 | < 1.1.4-r0
Debian1 product
  • runc< 1.1.5+ds1-1
Github.com/opencontainers1 product
  • runc< 1.1.5
Linuxfoundation1 product
Opencontainers1 product
Ubuntu1 product
  • runc< 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4 | < 1.1.4-0ubuntu1~18.04.2 | < 1.1.4-0ubuntu1~20.04.3 | < 1.1.4-0ubuntu1~22.04.3

8 vendors · 16 products

References

12 links
Show all 12 references