Security Resilience

CVE-2023-25809

Linuxfoundation Runc ≤ 1.1.5

Public PoC
Published
29 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
EPSS Score 0.0032 25th percentile
Risk Priority 36 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-25809 is a medium-severity Improper Preservation of Permissions (CWE-281) vulnerability in Linuxfoundation Runc. Its CVSS base score is 5.0 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique NTDS (T1003.003); ranked at the 25th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-28642Same product: Linuxfoundation Runc
CVE-2025-52565Same product: Linuxfoundation Runc
CVE-2025-31133Same product: Linuxfoundation Runc
CVE-2026-41579Same product: Linuxfoundation Runc
CVE-2025-52881Same product: Linuxfoundation Runc
CVE-2024-45310Same product: Linuxfoundation Runc
CVE-2023-6239Shared CWE-281
CVE-2024-54516Shared CWE-281
CVE-2023-42231Shared CWE-281
CVE-2023-34672Shared CWE-281

Affected Assets

linuxfoundation
runc
≤ 1.1.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-281

Forces removal or modification of permissions no longer required after reassignment, preventing improper preservation of old access rights.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Enforcing least-privilege permission policies and reviews directly prevents incorrect permission propagation on copy/restore/share operations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

Training raises developer awareness of secure permission handling during file operations, which keeps some instances of CWE-281 from being written, but the weakness is a specific implementation defect and the training is general awareness rather than targeted secure-coding practice, so it moves a minority of instances.

prevents

A.8.28 mandates secure coding practices (developer qualification, peer review, testing, analysis of common programming errors) that would catch some instances of permission-preservation defects, but the clause establishes a practice rather than a mechanism, and CWE-281 is a specific implementation defect requiring careful API selection and attention to permission semantics that the clause does not mandate directly.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses like CWE-281 the same way those practices do, at `partial` — the clause's declared ceiling on this verb.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, vendor advisories, CVE-driven detection), and CWE-281 is primarily a first-party implementation defect in how products handle permissions during copy/restore/share operations; the disclosed share (the CVE examples cited) is a minority of latent instances, so A.8.8 finds that minority and not the bulk.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Windows Server 2019 (1 rule)
  • V-205743 Windows Server 2019 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. blocks CWE-281

References