VDB

CVE-2024-9675

CVE-2024-9675 PUBLISHED CVSS 7.8 HIGH

Buildah: buildah allows arbitrary directory mount

Reported by redhat · Published October 9, 2024

github.com/containers/buildah is fixed in 1.38.0 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/containers/buildahGo Modules1.38.0
buildahGitHub Packages1.38.0
prometheus-podman-exporterChainguard1.13.3-r2

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 88100020241023085649.afee755d
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020241028154646.3b538bd8
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service8060020241028154646.3b538bd8
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions8060020241028154646.3b538bd8
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support8080020241025064551.0f77c1b7
Red HatRed Hat Enterprise Linux 92:1.33.10-1.el9_4
Red HatRed Hat Enterprise Linux 94:4.9.4-16.el9_4
Red HatRed Hat Enterprise Linux 94:5.2.2-9.el9_5
Red HatRed Hat Enterprise Linux 92:1.37.5-1.el9_5
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support1:1.26.8-2.el9_0
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support2:4.2.0-5.el9_0.2
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support1:1.29.4-1.el9_2
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support2:4.4.1-21.el9_2
Red HatRed Hat OpenShift Container Platform 4.12v4.12.0-202503181728.p0.ge355452.assembly.stream.el8
Red HatRed Hat OpenShift Container Platform 4.133:4.4.1-15.rhaos4.13.el8
Red HatRed Hat OpenShift Container Platform 4.13v4.13.0-202503111300.p0.gb379980.assembly.stream.el8
Red HatRed Hat OpenShift Container Platform 4.143:4.4.1-21.rhaos4.14.el8
Red HatRed Hat OpenShift Container Platform 4.14v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8
Red HatRed Hat OpenShift Container Platform 4.153:4.4.1-32.rhaos4.15.el8

…and 574 more

Timeline

  • Oct 9, 2024 CVE Published
  • Oct 9, 2024 PoC Published (4 in total, the first dated here)
  • Oct 10, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 14, 2024 Coalition ESS Score (14 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (33 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (23 in total, the first dated here)
  • Nov 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-9675
vulnetix vdb fixes CVE-2024-9675

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-9675/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 12 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›