Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2024-9675: Buildah: buildah allows arbitrary directory mount

Noroxi assessment

Priority: Monitor (action score 17/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.39% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: github.com/containers/buildah buildah 1.38.0.
  • Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 4.4.

Low priority for now. Upgrade to github.com/containers/buildah buildah 1.38.0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 4.4 · v3.1—No exploit Fix available
Published
Oct 9, 2024
Updated
Aug 7, 2026
EPSS
0.3% · 33th percentile

Report tools

JSON

Action score

17

Monitor

Low priority for now.

CVSS
17 / 40 · 4.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
4.4
CNA · redhat
7.8
3.4 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-9675

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
buildah projectbuildah
redhatopenshift container platform
redhatenterprise linux
redhatenterprise linux eus
redhatenterprise linux for arm 64
redhatenterprise linux for arm 64 eus
redhatenterprise linux for ibm z systems
redhatenterprise linux for ibm z systems eus
redhatenterprise linux for power little endian
redhatenterprise linux for power little endian eus
redhatenterprise linux server aus
redhatenterprise linux server for power little endian update services for sap solutions

and 2 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • buildah project buildahall versions
  • redhat enterprise linux8.0
  • redhat enterprise linux9.0
  • redhat enterprise linux eus8.8
  • redhat enterprise linux eus9.0
  • redhat enterprise linux eus9.2
  • redhat enterprise linux eus9.4
  • redhat enterprise linux for arm 648.0_aarch64
  • redhat enterprise linux for arm 649.0_aarch64
  • redhat enterprise linux for arm 64 eus8.8_aarch64
  • redhat enterprise linux for arm 64 eus9.0_aarch64
  • redhat enterprise linux for arm 64 eus9.2_aarch64
  • redhat enterprise linux for arm 64 eus9.4_aarch64
  • redhat enterprise linux for ibm z systems8.0_s390x
  • redhat enterprise linux for ibm z systems9.0_s390x
  • redhat enterprise linux for ibm z systems eus8.8_s390x
  • redhat enterprise linux for ibm z systems eus9.0_s390x
  • redhat enterprise linux for ibm z systems eus9.2_s390x
  • redhat enterprise linux for ibm z systems eus9.4_s390x
  • redhat enterprise linux for power little endian8.0_ppc64le

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • github.com/containers/buildah buildah

    • before 1.38.0affected · semver
  • Red Hat OpenShift Developer Tools and Services

    • all versionsaffected
    • all versionsaffected
  • Red Hat Red Hat Enterprise Linux 10

    • all versionsunknown
    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 7

    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 8

    • 8100020241023085649.afee755d and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

    • 8060020241028154646.3b538bd8 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service

    • 8060020241028154646.3b538bd8 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions

    • 8060020241028154646.3b538bd8 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support

    • 8080020241025064551.0f77c1b7 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 9

    • 2:1.33.10-1.el9_4 and laternot affected · rpm
    • 4:4.9.4-16.el9_4 and laternot affected · rpm
    • 4:5.2.2-9.el9_5 and laternot affected · rpm
    • 2:1.37.5-1.el9_5 and laternot affected · rpm
    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support

    • 1:1.26.8-2.el9_0 and laternot affected · rpm
    • 2:4.2.0-5.el9_0.2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support

    • 1:1.29.4-1.el9_2 and laternot affected · rpm
    • 2:4.4.1-21.el9_2 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8aardvark-dnsbefore 2:1.10.1-2.module_el8.10.0+3901+4b80ecd72:1.10.1-2.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8aardvark-dnsbefore 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb72:1.10.1-2.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8buildahbefore 2:1.33.10-1.module_el8.10.0+3909+6e1c1eb72:1.33.10-1.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8buildah-testsbefore 2:1.33.10-1.module_el8.10.0+3909+6e1c1eb72:1.33.10-1.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8cockpit-podmanbefore 84.1-1.module_el8.10.0+3876+e55593a884.1-1.module_el8.10.0+3876+e55593a8
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3909+6e1c1eb73:2.1.10-1.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3901+4b80ecd73:2.1.10-1.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3845+87b845523:2.1.10-1.module_el8.10.0+3845+87b84552
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3876+e55593a83:2.1.10-1.module_el8.10.0+3876+e55593a8
AlmaLinux:8container-selinuxbefore 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb72:2.229.0-2.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8containernetworking-pluginsbefore 1:1.4.0-5.module_el8.10.0+3876+e55593a81:1.4.0-5.module_el8.10.0+3876+e55593a8
AlmaLinux:8containernetworking-pluginsbefore 1:1.4.0-5.module_el8.10.0+3901+4b80ecd71:1.4.0-5.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8containernetworking-pluginsbefore 1:1.4.0-5.module_el8.10.0+3909+6e1c1eb71:1.4.0-5.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8containers-commonbefore 2:1-82.module_el8.10.0+3901+4b80ecd72:1-82.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8containers-commonbefore 2:1-82.module_el8.10.0+3876+e55593a82:1-82.module_el8.10.0+3876+e55593a8
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3901+4b80ecd73.18-5.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3845+87b845523.18-5.module_el8.10.0+3845+87b84552
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3858+6ad51f9f3.18-5.module_el8.10.0+3858+6ad51f9f
AlmaLinux:8criubefore 3.18-5.module_el8.10.0+3845+87b845523.18-5.module_el8.10.0+3845+87b84552
AlmaLinux:8criubefore 3.18-5.module_el8.10.0+3876+e55593a83.18-5.module_el8.10.0+3876+e55593a8
AlmaLinux:8criubefore 3.18-5.module_el8.10.0+3909+6e1c1eb73.18-5.module_el8.10.0+3909+6e1c1eb7
AlmaLinux:8criu-develbefore 3.18-5.module_el8.10.0+3858+6ad51f9f3.18-5.module_el8.10.0+3858+6ad51f9f
AlmaLinux:8criu-develbefore 3.18-5.module_el8.10.0+3845+87b845523.18-5.module_el8.10.0+3845+87b84552
AlmaLinux:8criu-develbefore 3.18-5.module_el8.10.0+3876+e55593a83.18-5.module_el8.10.0+3876+e55593a8

+96

Other highest-scoring records for the same primary product.

  • CVE-2020-10696A path traversal flaw was found in Buildah in versions before 1.14.5.
    36Monitor
  • CVE-2022-2990An incorrect handling of the supplementary groups in the Buildah container engine might lead to the sensitive information disclosure or poss
    28Monitor
  • CVE-2022-27651A flaw was found in buildah where containers were incorrectly started with non-empty default permissions.
    27Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2019-10214Nov 25, 2019 · The containers/image library used by the container tools Podman, Buildah, and Skopeo in Red Hat Enterprise Linux version 8 and CRI-O in Open
    23Monitor
  • ← EarlierCVE-2021-3602Mar 3, 2022 · An information disclosure flaw was found in Buildah, when building containers using chroot isolation.
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
github.com/containers/buildah buildah1.38.0Vendor (CNA)
almalinux:aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7 · AlmaLinux:8Package registry (OSV)
almalinux:buildah2:1.33.10-1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:buildah-tests2:1.33.10-1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:cockpit-podman84.1-1.module_el8.10.0+3876+e55593a8 · AlmaLinux:8Package registry (OSV)
almalinux:conmon3:2.1.10-1.module_el8.10.0+3876+e55593a8 · AlmaLinux:8Package registry (OSV)
almalinux:container-selinux2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 · AlmaLinux:8Package registry (OSV)
almalinux:containernetworking-plugins1:1.4.0-5.module_el8.10.0+3876+e55593a8 · AlmaLinux:8Package registry (OSV)
almalinux:containers-common2:1-82.module_el8.10.0+3876+e55593a8 · AlmaLinux:8Package registry (OSV)
almalinux:crit3.18-5.module_el8.10.0+3901+4b80ecd7 · AlmaLinux:8Package registry (OSV)
almalinux:criu3.18-5.module_el8.10.0+3876+e55593a8 · AlmaLinux:8Package registry (OSV)
almalinux:criu-devel3.18-5.module_el8.10.0+3876+e55593a8 · AlmaLinux:8Package registry (OSV)
almalinux:criu-libs3.18-5.module_el8.10.0+3909+6e1c1eb7 · AlmaLinux:8Package registry (OSV)
debian:golang-github-containers-buildah1.37.4+ds1-1 · Debian:13Package registry (OSV)
Go:github.com/containers/buildah1.37.1Package registry (OSV)
Go:github.com/containers/buildah1.38.0Package registry (OSV)
opensuse:buildah1.35.4-150500.3.16.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:podman4.9.5-150500.3.25.1 · openSUSE:Leap Micro 5.5Package registry (OSV)
red hat:buildah2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:buildah-debuginfo2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:buildah-debugsource2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:buildah-tests2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:buildah-tests-debuginfo2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:podman2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)
red hat:podman-catatonit2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)
red hat:podman-catatonit-debuginfo2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)
red hat:podman-debuginfo2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)
red hat:podman-debugsource2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)
red hat:podman-docker2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)
red hat:podman-gvproxy2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstreamPackage registry (OSV)

+14

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records