Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-9407 — buildah

🟡 CVSS 4.7 — Medium ✅ No Known Exploit CWE-20 NVD
4.7
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Improper Input Validation in Buildah and Podman

A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity low, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: High — administrative rights are needed first.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Weakness class

CVE-2024-9407 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

CVE-2024-9407 is recorded against 7 packages.

  • github.com/containers/buildah
  • github.com/containers/podman
  • github.com/containers/podman/v2
  • github.com/containers/podman/v3
  • github.com/containers/podman/v4
  • github.com/containers/podman/v5
  • unknown

Timeline and source

Published on 9 October 2024 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Advisory)
github.com (Fix)
github.com (Web)

Other advisories for this package

github.com/containers/buildah has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-20: Improper Input Validation) in other software:

CVE-2024-9407 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 4.7
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
CWE CWE-20
Public Exploit ✅ No
Source NVD
Published 2024-10-09
Updated 2026-08-20
Modified 2026-02-04

Affected Packages

Software From version Fixed in
github.com/containers/buildah — —
github.com/containers/podman — —
github.com/containers/podman/v2 — —
github.com/containers/podman/v3 — —
github.com/containers/podman/v4 — —
github.com/containers/podman/v5 — —
unknown — —

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in buildah

CVE-2024-9407 is rated CVSS 4.7 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓