Vulnerabilities · 2025 · Linuxfoundation
CVE-2025-52881
Linuxfoundation Runc vulnerability
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts (we have also verified this attack is possible to exploit using a standard Dockerfile with docker buildx build as that also permits triggering parallel execution of containers with custom shared mounts configured). This redirect could be through symbolic links in a tmpfs or theoretically other methods such as regular bind-mounts. While similar, the mitigation applied for the related CVE, CVE-2019-19921, was fairly limited and effectively only caused runc to verify that when LSM labels are written they are actually procfs files. This issue is fixed in versions 1.2.8, 1.3.3, and 1.4.0-rc.3.
Affected products
Runc. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Runc runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/opencontainers/runc/security/advisories/GHSA-fh74-hm69-rqjw
- github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm
- github.com/opencontainers/selinux/pull/237
- github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480
- github.com/opencontainers/runc/commit/ff6fe1324663538167eca8b3d3eec61e1bd4fa51
- github.com/opencontainers/runc/commit/fdcc9d3cad2f85954a241ccb910a61aaa1ef47f3
- github.com/opencontainers/runc/commit/ed6b1693b8b3ae7eb0250a7e76fc888cdacf98c1
- github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64
- nvd.nist.gov/vuln/detail/CVE-2025-52881
- cve.org/CVERecord?id=CVE-2025-52881
More vulnerabilities in Linuxfoundation products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.