Home / opencontainers / runc / CVE-2024-45310
CVE-2024-45310: is it exploited, and which versions of opencontainers runc are affected and fixed?
CVE-2024-45310 is a race Condition Enabling Link Following vulnerability in opencontainers runc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: github.com/opencontainers/runc before 1.1.14 and github.com/opencontainers/runc from 1.2.0-rc.1 before 1.2.0-rc.3 (GitHub advisory GHSA-jfvp-7x6p-h2pv). Fixed in 1.1.14 and 1.2.0-rc.3 (GitHub advisory GHSA-jfvp-7x6p-h2pv). Severity: Low (3.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-45310?
runc can be confused to create empty files/directories on the host
runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significantly reduced. Sufficiently strict LSM policies (SELinux/Apparmor) can also in principle block this attack -- we suspect the industry standard SELinux policy may restrict this attack's scope but the exact scope of protection hasn't been analysed. This is exploitable using runc directly as well as through Docker and Kubernetes. The issue is fixed in runc v1.1.14 and v1.2.0-rc3. Some workarounds are available. Using user namespaces restricts this attack fairly significantly such that the attacker can only create inodes in directories that the remapped root user/group has write access to. Unless the root user is remapped to an actual user on the host (such as with rootless containers that don't use `/etc/sub[ug]id`), this in practice means that an attacker would only be able to create inodes in world-writable directories. A strict enough SELinux or AppArmor policy could in principle also restrict the scope if a specific label is applied to the runc runtime, though neither the extent to which the standard existing policies block this attack nor what exact policies are needed to sufficiently restrict this attack have been thoroughly tested.
From the CVE record by GitHub_M, last updated February 21, 2025, 18:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| opencontainers | runc | < 1.1.14 >= 1.2.0-rc-1, < 1.2.0-rc.3 |
As the CVE record by GitHub_M states it, last updated February 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/opencontainers/runc | < 1.1.14 | 1.1.14 | GHSA-jfvp-7x6p-h2pv |
| Go | github.com/opencontainers/runc | >= 1.2.0-rc.1, < 1.2.0-rc.3 | 1.2.0-rc.3 | GHSA-jfvp-7x6p-h2pv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 21, 2025. Summary: runc can be confused to create empty files/directories on the host.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | runc | before 1.1.14 | application |
| linuxfoundation | runc | 1.2.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:54 UTC.
How severe is CVE-2024-45310?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N | GitHub_M |
| Low 3.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-45310 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 3, 2024)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 26.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/opencontainers/runc/security/advisories/GHSA-jfvp-7x6p-h2pv x_refsource_CONFIRM
- https://github.com/opencontainers/runc/pull/4359 x_refsource_MISC
- https://github.com/opencontainers/runc/commit/63c2908164f3a1daea455bf5bcd8d363d70328c7 x_refsource_MISC
- https://github.com/opencontainers/runc/commit/8781993968fd964ac723ff5f360b6f259e809a3e x_refsource_MISC
- https://github.com/opencontainers/runc/commit/f0b652ea61ff6750a8fcc69865d45a7abf37accf x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2024/09/03/1
- https://security.netapp.com/advisory/ntap-20250221-0008/
When was it published, and where is the official record?
- Reserved
- August 26, 2024
- Published
- September 3, 2024, 19:07 UTC
- CVE record updated
- February 21, 2025, 18:03 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:54 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect runc?
- Jul 1, 2026CVE-2026-41579 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Nov 6, 2025CVE-2025-52881 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Nov 6, 2025CVE-2025-52565 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Nov 6, 2025CVE-2025-31133 opencontainers runc: UNIX Symbolic Link (Symlink) Following
- Jan 31, 2024CVE-2024-21626 opencontainers runc: exposure of File Descriptor to Unintended Control Sphere
- Mar 29, 2023CVE-2023-25809 opencontainers runc: permissions not preserved
- Mar 29, 2023CVE-2023-28642 opencontainers runc: permissions not preserved
- May 17, 2022CVE-2022-29162 opencontainers runc: insecure default permissions
Questions about CVE-2024-45310
Is CVE-2024-45310 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of opencontainers runc are affected by CVE-2024-45310?
github.com/opencontainers/runc before 1.1.14 and github.com/opencontainers/runc from 1.2.0-rc.1 before 1.2.0-rc.3, per the GitHub advisory GHSA-jfvp-7x6p-h2pv. The tables above give every range the sources list.
Which version fixes CVE-2024-45310?
1.1.14 and 1.2.0-rc.3, per the GitHub advisory GHSA-jfvp-7x6p-h2pv. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-45310?
Low (3.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-45310?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.