MGASA-2025-0004

Source
https://advisories.mageia.org/MGASA-2025-0004.html
Import Source
https://advisories.mageia.org/MGASA-2025-0004.json
JSON Data
https://api.test.osv.dev/v1/vulns/MGASA-2025-0004
Related
Published
2025-01-10T19:54:34Z
Modified
2025-01-10T19:28:27Z
Summary
Updated opencontainers-runc packages fix security vulnerability
Details

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 can be used to create empty files, existing files will 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.

References
Credits

Affected packages

Mageia:9 / opencontainers-runc

Package

Name
opencontainers-runc
Purl
pkg:rpm/mageia/opencontainers-runc?distro=mageia-9

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.14-1.mga9

Ecosystem specific

{
    "section": "core"
}