Vulnerability · Published Jun 12, 2024 · Assigned by redhat
CVE-2024-5154Cri-o: malicious container can create symlink on host
High 8.1
In plain English
A high-severity path traversal in cri-o. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.2%top 30.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cri-o/cri-o | 1.28.7 | GHSA-j9hf-98c3-wrm8 |
| Go | github.com/cri-o/cri-o | 1.29.5 | GHSA-j9hf-98c3-wrm8 |
| Go | github.com/cri-o/cri-o | 1.30.1 | GHSA-j9hf-98c3-wrm8 |
| Go | github.com/cri-o/cri-o | 1.28.7, 1.29.5, 1.30.1 | GO-2024-2919 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cri-o | 1.30.0 – before 1.30.11.29.4 – before 1.29.51.28.6 – before 1.28.7 | |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat OpenShift Container Platform 3.11 | see references |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
References
- RHSA-2024:10818 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3676 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3700 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4008 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4159 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4486 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-5154 vdb-entry, x_refsource_REDHAT
- RHBZ#2280190 issue-tracking, x_refsource_REDHAT
- https://github.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8