Search for packages
Package details: pkg:deb/debian/runc@1.1.5%2Bds1-1%2Bdeb12u1
purl pkg:deb/debian/runc@1.1.5%2Bds1-1%2Bdeb12u1
Next non-vulnerable version 1.1.15+ds1-2
Latest non-vulnerable version 1.1.15+ds1-2
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-8few-q1n1-s7gr
Aliases:
CVE-2024-45310
GHSA-jfvp-7x6p-h2pv
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.
1.1.10+ds1-1
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-h2d7-ph2u-aaah runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue. CVE-2024-21626
GHSA-xr7r-f8xq-vfvv

Date Actor Action Vulnerability Source VulnerableCode Version
2025-06-22T03:00:09.833910+00:00 Debian Importer Affected by VCID-8few-q1n1-s7gr https://security-tracker.debian.org/tracker/data/json 36.1.3
2025-06-21T07:24:34.997201+00:00 Debian Importer Fixing VCID-h2d7-ph2u-aaah https://security-tracker.debian.org/tracker/data/json 36.1.3
2025-04-05T21:22:08.341950+00:00 Debian Importer Affected by VCID-8few-q1n1-s7gr https://security-tracker.debian.org/tracker/data/json 36.0.0
2025-04-05T04:40:56.583460+00:00 Debian Importer Fixing VCID-h2d7-ph2u-aaah https://security-tracker.debian.org/tracker/data/json 36.0.0
2025-02-22T03:29:27.641974+00:00 Debian Importer Affected by VCID-8few-q1n1-s7gr https://security-tracker.debian.org/tracker/data/json 35.1.0
2025-02-21T18:29:09.823551+00:00 Debian Importer Fixing VCID-h2d7-ph2u-aaah https://security-tracker.debian.org/tracker/data/json 35.1.0
2024-11-24T13:24:01.232812+00:00 Debian Importer Affected by VCID-8few-q1n1-s7gr https://security-tracker.debian.org/tracker/data/json 35.0.0