Vulnerability
CVE-2025-31133
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.
329 advisories report this vulnerability, across 15 ecosystems.
Advisories in Wolfi
- CGA-2662-qv7j-89xc
- CGA-2xh8-68xf-x8c9
- CGA-4c76-26xj-pvph
- CGA-4c8m-4rxh-qv3c
- CGA-4h26-x7wp-vvrx
- CGA-4mp5-gvcg-fwrj
- CGA-5mj5-73c7-r42x
- CGA-6hgp-hf56-x89c
- CGA-74gq-hmj5-v55p
- CGA-7hmq-56jj-jhww
- CGA-83w3-xwhq-gcpx
- CGA-897p-j7hf-h496
- CGA-8q62-hqr2-6w74
- CGA-94ff-2xjq-5v5h
- CGA-f7gx-cghh-rghx
- CGA-ff36-jmjm-jx56
- CGA-gx74-5224-4qrm
- CGA-h3h7-mhw8-ch3r
- CGA-h7gc-wh28-mmv4
- CGA-hq2x-fvw2-8crq
- CGA-hwwq-4wwg-4g63
- CGA-jgxv-rxh5-36mh
- CGA-m3jg-2x93-vw7f
- CGA-m4c7-q5qm-q7w9
- CGA-m8rr-pj2f-7864
- CGA-q4gq-g3hj-vphg
- CGA-qg5m-jm8g-mfw5
- CGA-qv8p-wh8w-qmm8
- CGA-r7hh-6w9x-hcf8
- CGA-rwvq-rxh3-966g
- CGA-v7qw-9q9c-25gf
- CGA-vrcc-x4gf-595p
- CGA-w3q2-4m84-m6qp
- CGA-wcjm-9v9f-fqpj
- CGA-wwxv-293p-9pf4
- CGA-xx58-w28f-qg6g
References
- https://github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522
- https://github.com/opencontainers/runc/commit/5d7b2424072449872d1cd0c937f2ca25f418eb66
- https://github.com/opencontainers/runc/commit/8476df83b534a2522b878c0507b3491def48db9f
- https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64
- https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2