cve.bz

CVE-2024-5154 Path traversal

8.1 highEPSS 1.2%Fix available

High (8.1). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cri-o/cri-o 1.28.7, 1.29.5, 1.30.1.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/cri-o/cri-o (Go): fixed in 1.28.7, 1.29.5, 1.30.1
  • Red Hat Red Hat OpenShift Container Platform 4.12: fixed in 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 0:1.26.5-18.2.rhaos4.13.git2e90133.el8
  • Red Hat Red Hat OpenShift Container Platform 4.14: fixed in 0:1.27.7-3.rhaos4.14.git674563e.el8
  • Red Hat Red Hat OpenShift Container Platform 4.15: fixed in 0:1.28.7-2.rhaos4.15.git111aec5.el8
  • Red Hat Red Hat OpenShift Container Platform 4.16: fixed in 0:1.29.5-7.rhaos4.16.git7db4ada.el8
  • Red Hat Red Hat OpenShift Container Platform 4.16: fixed in 0:5.14.0-427.24.1.el9_4
  • Red Hat Red Hat OpenShift Container Platform 4.16: fixed in 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8
  • Red Hat Red Hat OpenShift Container Platform 4.17: fixed in 417.94.202412040832-0
  • Red Hat, openSUSE: fixed package versions per release
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2024:3676
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2024:3700
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2024:4008

Ask an AI about this CVE

Show the promptExplain CVE-2024-5154 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-5154?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-5154?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-5154 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat OpenShift Container Platform 4.120:1.25.5-21.2.rhaos4.12.gita3eb75f.el8
Red Hat OpenShift Container Platform 4.130:1.26.5-18.2.rhaos4.13.git2e90133.el8
Red Hat OpenShift Container Platform 4.140:1.27.7-3.rhaos4.14.git674563e.el8
Red Hat OpenShift Container Platform 4.150:1.28.7-2.rhaos4.15.git111aec5.el8
Red Hat OpenShift Container Platform 4.160:1.29.5-7.rhaos4.16.git7db4ada.el8
Red Hat OpenShift Container Platform 4.160:5.14.0-427.24.1.el9_4
Red Hat OpenShift Container Platform 4.160:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8
Red Hat OpenShift Container Platform 4.17417.94.202412040832-0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j9hf-98c3-wrm8Gogithub.com/cri-o/cri-o>=1.28.6 <1.28.71.28.7
GHSA-j9hf-98c3-wrm8Gogithub.com/cri-o/cri-o>=1.29.4 <1.29.51.29.5
GHSA-j9hf-98c3-wrm8Gogithub.com/cri-o/cri-o>=1.30.0 <1.30.11.30.1
GO-2024-2919Gogithub.com/cri-o/cri-o>=1.28.6 <1.28.7
>=1.29.4 <1.29.5
>=1.30.0 <1.30.1
1.28.7, 1.29.5, 1.30.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:4.12::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8RHSA-2024:4008
Red Hatopenshift:4.13::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.26.5-18.2.rhaos4.13.git2e90133.el8RHSA-2024:4486
Red Hatopenshift:4.13::el9cri-o, cri-o-debuginfo, cri-o-debugsource0:1.26.5-18.2.rhaos4.13.git2e90133.el9RHSA-2024:4486
Red Hatopenshift:4.14::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.27.7-3.rhaos4.14.git674563e.el8RHSA-2024:3700
Red Hatopenshift:4.14::el9cri-o, cri-o-debuginfo, cri-o-debugsource0:1.27.7-3.rhaos4.14.git674563e.el9RHSA-2024:3700
Red Hatopenshift:4.15::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.28.7-2.rhaos4.15.git111aec5.el8RHSA-2024:3676
Red Hatopenshift:4.15::el9cri-o, cri-o-debuginfo, cri-o-debugsource0:1.28.7-2.rhaos4.15.git111aec5.el9RHSA-2024:3676
Red Hatopenshift:4.16::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.29.5-7.rhaos4.16.git7db4ada.el8RHSA-2024:4159
Red Hatopenshift:4.16::el8openshift, openshift-kubelet, openshift-hyperkube and 3 more0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8RHSA-2024:4159
Red Hatopenshift:4.16::el9bpftool, bpftool-debuginfo0:7.3.0-427.24.1.el9_4RHSA-2024:4159
Red Hatopenshift:4.16::el9cri-o, cri-o-debuginfo, cri-o-debugsource0:1.29.5-7.rhaos4.16.git7db4ada.el9RHSA-2024:4159
Red Hatopenshift:4.16::el9openshift, openshift-kubelet, openshift-hyperkube and 3 more0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el9RHSA-2024:4159
1 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedcri-o1.36.7-1.1openSUSE-SU-2026:12626-1

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat OpenShift Container Platform (OCP) includes the vulnerable cri-o library, however it does not load untrusted container, therefore impact is reduced to Important.

Red Hat's mitigation

There is no mitigation available for this vulnerability, a package update is required.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.12cri-o-0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8Fixed 2024-06-27RHSA-2024:4008
Red Hat OpenShift Container Platform 4.13cri-o-0:1.26.5-18.2.rhaos4.13.git2e90133.el8Fixed 2024-07-17RHSA-2024:4486
Red Hat OpenShift Container Platform 4.14cri-o-0:1.27.7-3.rhaos4.14.git674563e.el8Fixed 2024-06-13RHSA-2024:3700
Red Hat OpenShift Container Platform 4.15cri-o-0:1.28.7-2.rhaos4.15.git111aec5.el8Fixed 2024-06-11RHSA-2024:3676
Red Hat OpenShift Container Platform 4.16cri-o-0:1.29.5-7.rhaos4.16.git7db4ada.el8Fixed 2024-07-03RHSA-2024:4159
Red Hat OpenShift Container Platform 4.16kernel-0:5.14.0-427.24.1.el9_4Fixed 2024-07-03RHSA-2024:4159
Red Hat OpenShift Container Platform 4.16openshift-0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8Fixed 2024-07-03RHSA-2024:4159
Red Hat OpenShift Container Platform 4.17openshift/ose-rhel-coreos-9:417.94.202412040832-0Fixed 2024-12-11RHSA-2024:10818
Red Hat Enterprise Linux 8container-tools:rhel8/podmanNot affected
Red Hat Enterprise Linux 9conmonNot affected
Red Hat OpenShift Container Platform 3.11cri-oOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-5154.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON