Read the docs
TI-2024-30381 Aliases CVE-2024-45310GHSA-jfvp-7x6p-h2pv

runc can be confused to create empty files/directories on the host

Priority LOW 17CWE-363Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 2 fixed, 5 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00317 24th percentileScored 2026-11-07
Fix Partial runc (opencontainers): 1.1.14, 1.2.0-rc.3github.com/opencontainers/runc (Go): 1.1.14, 1.2.0-rc.3Red Hat: 2 advisoriesRed Hat: 2 fixed, 5 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
backstageruncbefore 1.1.14; 1.2.0-rc-1 to before 1.2.0-rc.31.1.14, 1.2.0-rc.3Patch availableCNA
—github.com/opencontainers/runc (Go)before 1.1.141.1.14Patch availableGHSA-jfvp-7x6p-h2pv
—github.com/opencontainers/runc (Go)1.2.0-rc.1 to before 1.2.0-rc.31.2.0-rc.3Patch availableGHSA-jfvp-7x6p-h2pv
  • runc Vendorbackstage Affected before 1.1.14; 1.2.0-rc-1 to before 1.2.0-rc.3 Fixed in 1.1.14, 1.2.0-rc.3 Patch available CNA
  • github.com/opencontainers/runc (Go) Vendor— Affected before 1.1.14 Fixed in 1.1.14 Patch available GHSA-jfvp-7x6p-h2pv
  • github.com/opencontainers/runc (Go) Vendor— Affected 1.2.0-rc.1 to before 1.2.0-rc.3 Fixed in 1.2.0-rc.3 Patch available GHSA-jfvp-7x6p-h2pv

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*before 1.1.14Vulnerablebackstage
cpe:2.3:a:linuxfoundation:runc:1.2.0:rc1:*:*:*:*:*:*1.2.0 rc1Vulnerablebackstage
cpe:2.3:a:linuxfoundation:runc:1.2.0:rc2:*:*:*:*:*:*1.2.0 rc2Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* Versions before 1.1.14 Vulnerable ·backstage
  • cpe:2.3:a:linuxfoundation:runc:1.2.0:rc1:*:*:*:*:*:* Versions 1.2.0 rc1 Vulnerable ·backstage
  • cpe:2.3:a:linuxfoundation:runc:1.2.0:rc2:*:*:*:*:*:* Versions 1.2.0 rc2 Vulnerable ·backstage

Remediation

  • Fix · CNA runc (opencontainers) Fixed in 1.1.14, 1.2.0-rc.3
  • Fix · GHSA-jfvp-7x6p-h2pv github.com/opencontainers/runc (Go) Fixed in 1.1.14 Advisory →
  • Fix · GHSA-jfvp-7x6p-h2pv github.com/opencontainers/runc (Go) Fixed in 1.2.0-rc.3 Advisory →

Red Hat 2 advisories

  • RHSA-2026:37387 Released 2026-07-09 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.22 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/devicefinder-rhel9 +24
  • RHSA-2026:3406 Released 2026-02-26 · Red Hat rating Important
    New container image: rhceph-9.0
    • Red Hat Ceph Storage 9 registry.redhat.io/rhceph/grafana-rhel10, registry.redhat.io/rhceph/rhceph-9-rhel9

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 3.11AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 9Fixed RHSA-2026:3406
Red Hat Openshift Data Foundation 4.22Fixed RHSA-2026:37387
Not affected: 2 products
  • Red Hat Ceph Storage 9
  • Red Hat Openshift Data Foundation 4.22

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-45310
  2. 2026-10-03 Alias added: GHSA-jfvp-7x6p-h2pv
  3. 2026-10-21 Affected versions changed · Red Hat
  4. 2026-10-22 Affected versions changed · Red Hat

References

  • TI-2019-04061 runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows… CVSS 3.1HIGH 8.6
  • TI-2024-14351 runc container breakout through process.cwd trickery and leaked fds CVSS 3.1HIGH 8.6
  • TI-2021-10869 runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. CVSS 3.1HIGH 8.5
  • TI-2019-12591 runc through 1.0.0-rc8, as used in Docker through 19.03.2-ce and other products, allows… CVSS 3.1HIGH 7.5
  • TI-2025-32660 container escape due to /dev/console mount and related races CVSS 4.0HIGH 8.4
  • TI-2025-22394 runc container escape via "masked path" abuse due to mount race conditions CVSS 4.0HIGH 7.3
See all 16 →

Sources