CVE-2024-45310
LOWDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 23% of all known CVEs.
References
Related Vulnerabilities
Other CWE-61 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-28189 | Critical | 10.0 | 7.2% | - | - |
| CVE-2024-28185 | Critical | 10.0 | 7.1% | - | - |
| CVE-2019-11249 | Medium | 6.5 | 3.7% | - | Fix |
| CVE-2019-11246 | Medium | 6.5 | 3.6% | - | Fix |
| CVE-2019-16775 | High | 7.7 | 3.3% | - | Fix |
| CVE-2019-11251 | Medium | 4.8 | 2.6% | - | Fix |
Common questions
How do I fix CVE-2024-45310?
Upgrade runc on debian 13 to 1.1.15+ds1-1 or later.
Is CVE-2024-45310 being actively exploited?
Not that we know of. CVE-2024-45310 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.32% is the estimated probability that it will be exploited in the next 30 days. That is higher than 23% of all scored CVEs.
How severe is CVE-2024-45310?
CVE-2024-45310 has a CVSS v3 base score of 3.6, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-45310 affect?
Published advisories record a fix for runc (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-45310
Markdown
[](https://tridentstack.com/cve/CVE-2024-45310)HTML
<a href="https://tridentstack.com/cve/CVE-2024-45310"><img src="https://tridentstack.com/cve/badge/CVE-2024-45310.svg" alt="CVE-2024-45310"></a>Check your Linux endpoints for this class of vulnerability
TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-25.