cve.bz

CVE-2024-45310 linuxfoundation runc: UNIX Symbolic Link (Symlink) Following

3.6 lowEPSS 0.3%Fix available

Low (3.6) in linuxfoundation runc. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/runc 1.1.14, 1.2.0-rc.3.

On this page
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.

Severity

CVSS 3.1

3.6 low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-61 UNIX Symbolic Link (Symlink) Following
CWE-363 Race Condition Enabling Link Following
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-45310 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45310?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45310?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45310 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:runcbefore 1.1.14
linuxfoundation:runc1.2.0:rc1
linuxfoundation:runc1.2.0:rc2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jfvp-7x6p-h2pvGogithub.com/opencontainers/runc<1.1.141.1.14
GHSA-jfvp-7x6p-h2pvGogithub.com/opencontainers/runc>=1.2.0-rc.1 <1.2.0-rc.31.2.0-rc.3
GO-2024-3110Gogithub.com/opencontainers/runc<1.1.14
>=1.2.0-rc.1 <1.2.0-rc.3
1.1.14, 1.2.0-rc.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12runcno fix listedDEBIAN-CVE-2024-45310
Debian13, 14runc1.1.15+ds1-1DEBIAN-CVE-2024-45310
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSrunc, runc-appno fix listedUBUNTU-CVE-2024-45310
UbuntuPro:16.04:LTS, Pro:18.04:LTSruncno fix listedUBUNTU-CVE-2024-45310
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 15 morerunc1.1.14-150000.70.1SUSE-SU-2024:3222-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 15 morerunc1.2.6-150000.73.2SUSE-SU-2025:02198-1
SUSELinux Enterprise Module for Basesystem 15 SP7runc1.2.6-150000.73.2SUSE-SU-2025:02198-2
SUSELinux Enterprise Module for Containers 12runc1.1.14-16.55.1SUSE-SU-2024:3324-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt1.7.0-150700.3.16.2SUSE-SU-2026:0479-1
SUSELinux Enterprise Module for HPC 15 SP7, Linux Enterprise Server 15 SP6-LTSSapptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
SUSELinux Enterprise Module for HPC 15 SP7, Linux Enterprise Server 15 SP6-LTSSsquashfuse0.5.0-150600.3.2.1SUSE-SU-2026:0439-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5runc1.2.6-16.60.2SUSE-SU-2025:1374-1
SUSELinux Micro 6.0runc1.1.14-1.1SUSE-SU-2025:20046-1
SUSELinux Micro 6.0runc1.2.6-1.1SUSE-SU-2025:20335-1
SUSELinux Micro 6.1runc1.2.6-slfo.1.1_1.1SUSE-SU-2025:20353-1
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.5runc1.1.14-150000.70.1SUSE-SU-2024:3222-1
openSUSELeap 15.6apptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
openSUSELeap 15.6runc1.2.6-150000.73.2SUSE-SU-2025:02198-1
openSUSELeap 15.6squashfuse0.5.0-150600.3.2.1SUSE-SU-2026:0439-1
openSUSELeap 16.0cadvisor0.60.3-bp160.1.1openSUSE-SU-2026:21265-1
openSUSELeap 16.0ctop0.7.7-bp160.2.1openSUSE-SU-2026:21379-1
openSUSETumbleweedapptainer1.4.5-5.1openSUSE-SU-2026:10842-1
openSUSETumbleweedcadvisor0.60.3-1.1openSUSE-SU-2026:11153-1
openSUSETumbleweedcri-o1.36.7-1.1openSUSE-SU-2026:12626-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250807T150727-1.1openSUSE-SU-2025:15424-1
openSUSETumbleweedrunc1.2.0~rc3-1.1openSUSE-SU-2024:14312-1
Alpinev3.20, v3.21, v3.22 and 2 morerunc1.1.14-r0ALPINE-CVE-2024-45310
Azure Linux2buildahno fix listedAZL-48567
Azure Linux2kubernetesno fix listedAZL-48581
Azure Linux2moby-runc1.1.9-8AZL-48590
Azure Linux2podmanno fix listedAZL-48555
Azure Linux3buildah1.41.4-2AZL-48519
Azure Linux3cri-ono fix listedAZL-48525
Azure Linux3podman5.6.1-2AZL-48531
Azure Linux3runc1.2.2-1AZL-48543
Alpaquita23runc1.3.6-r0BELL-CVE-2024-45310
Alpaquitastreamrunc1.1.14-r0BELL-CVE-2024-45310

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Ceph Storage 9rhceph/grafana-rhel10:1771399331Fixed 2026-02-26RHSA-2026:3406
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9:1782932114Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9-operator:1782931768Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/devicefinder-rhel9:1782932104Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/mcg-core-rhel9:1783536000Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/mcg-rhel9-operator:1783535989Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-client-console-rhel9:1783536515Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-client-rhel9-operator:1782932521Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-metrics-exporter-rhel9:1783018461Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-rhel9-operator:1783018421Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-blackbox-exporter-rhel9:1782932812Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-cli-rhel9:1783537001Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-cloudnative-pg-rhel9-operator:1782932919Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/odf-console-rhel9:1783537586Fixed 2026-07-09RHSA-2026:37387
Red Hat Enterprise Linux 7runcFix deferred
Red Hat Enterprise Linux 8container-tools:rhel8/runcFix deferred
Red Hat Enterprise Linux 9runcFix deferred
Red Hat OpenShift Container Platform 3.11runcFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45310.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON