Path Traversal in Buildah Project
CVE-2024-9675
A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 33.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Buildah Project
- Red Hat Openshift Developer Tools And Services
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Eus — versions 8.8, 9.0, 9.2
- Red Hat Enterprise Linux For Arm 64 — versions 8.0_aarch64, 9.0_aarch64
- Red Hat Enterprise Linux For Arm 64 Eus — versions 8.8_aarch64, 9.0_aarch64, 9.2_aarch64
- Red Hat Enterprise Linux For IBM Z Systems — versions 8.0_s390x, 9.0_s390x
- Red Hat Enterprise Linux For IBM Z Systems Eus — versions 8.8_s390x, 9.0_s390x, 9.2_s390x
- Red Hat Enterprise Linux For Power Little Endian — versions 8.0_ppc64le, 9.0_ppc64le
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2024:8563 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8675 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8679 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8686 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8690 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8700 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8703 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8707 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8708 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:8709 (vendor-advisory, Third Party Advisory)