CVE-2025-31133
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v4.0•HIGH•Score: 7.3CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- v4.0•HIGH•Score: 7.3CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.84%• Percentile: 56%
Techniques & Countermeasures
- CWE-61•UNIX Symbolic Link (Symlink) Following
The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
- CWE-363•Race Condition Enabling Link Following
The product checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the product to access the wrong file.
Affected Systems
- chainguard•azure-vnet-cni
< 1.7.4-r2
- chainguard•buildah
< 1.42.0-r1
- chainguard•cluster-autoscaler-1.31
< 1.31.5-r4 | < 1.31.5-r1
- chainguard•cluster-autoscaler-fips-1.31
< 1.31.5-r1 | < 1.31.5-r5
- chainguard•ctop
all
- chainguard•ctop-fips
all
- chainguard•eks-distro-1.30
< 1.30.46-r1
- chainguard•eks-distro-1.31
< 1.31.35-r1
- chainguard•eks-distro-1.32
< 1.32.28-r1
- chainguard•eks-distro-coredns-1.30
< 1.30.46-r1
- chainguard•eks-distro-coredns-1.31
< 1.31.35-r1
- chainguard•eks-distro-coredns-1.32
< 1.32.28-r1
- chainguard•eks-distro-coredns-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-coredns-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-apiserver-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-apiserver-1.31
< 1.31.35-r1
- chainguard•eks-distro-kube-apiserver-1.32
< 1.32.28-r1
- chainguard•eks-distro-kube-apiserver-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-kube-apiserver-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-controller-manager-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-controller-manager-1.31
< 1.31.35-r1
- chainguard•eks-distro-kube-controller-manager-1.32
< 1.32.28-r1
- chainguard•eks-distro-kube-controller-manager-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-kube-controller-manager-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-controller-manager-fips-1.32
< 1.32.28-r1
- chainguard•eks-distro-kube-proxy-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-proxy-1.31
< 1.31.35-r1
- chainguard•eks-distro-kube-proxy-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-kube-proxy-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-proxy-fips-1.32
< 1.32.28-r1
- chainguard•eks-distro-kube-scheduler-1.30
< 1.30.46-r1
- chainguard•eks-distro-kube-scheduler-1.31
< 1.31.35-r1
- chainguard•eks-distro-kube-scheduler-1.32
< 1.32.28-r1
- chainguard•eks-distro-kube-scheduler-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-kube-scheduler-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-kubernetes-pause-1.30
< 1.30.46-r1
- chainguard•eks-distro-kubernetes-pause-1.31
< 1.31.35-r1
- chainguard•falco-no-driver
< 0.43.0-r0
- chainguard•gosu-1.11
all
- chainguard•grafana-alloy
< 1.11.3-r1
- chainguard•grafana-alloy-fips
< 1.11.3-r2
- chainguard•harvester-fips
< 0
- chainguard•harvester-fips-upgrade-helper
< 0
- chainguard•harvester-fips-webhook
< 0
- chainguard•harvester-upgrade-helper
< 0
- chainguard•k3s-1.32
< 1.32.9.1-r2
- chainguard•k3s-1.33
< 1.33.5.1-r2
- chainguard•k3s-multicall-1.32
< 1.32.9.1-r2
Showing first 50 affected entries in server-rendered view.
References (9)
- https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2
- 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://nvd.nist.gov/vuln/detail/CVE-2025-31133
- https://github.com/opencontainers/runc
- https://security-tracker.debian.org/tracker/CVE-2025-31133
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31133.json