VDB

CVE-2024-9407

CVE-2024-9407 PUBLISHED CVSS 9.300000190734863 CRITICAL

Improper Input Validation in Buildah and Podman

Record from NVD · Published October 1, 2024

github.com/containers/podman/v2 is fixed in 5.2.4 (Go Modules)

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.

EPSS 0.29% · 21.6th percentile

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/podman/v2Go Modules5.2.4
github.com/containers/buildahGo Modules1.37.4
podmanGitHub Packages5.2.4
github.com/containers/podman/v5Go Modules5.2.4
github.com/containers/podman/v4Go Modules5.2.4
github.com/containers/podman/v3Go Modules5.2.4
buildahGitHub Packages1.37.4
github.com/containers/podmanGo Modules5.2.4
podmanAlpine5.2.4-r0
buildahAlpine1.37.4-r0
buildahChainguard1.39.0-r2
buildahWolfi1.39.0-r2

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS Score
0.29%
21.6th percentile

Timeline

  • Oct 1, 2024 CVE Published
  • Oct 1, 2024 PoC Published
  • Oct 2, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (10 in total, the first dated here)
  • Mar 20, 2026 Security Advisory (11 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (6 in total, the first dated here)
  • Nov 5, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-9407
vulnetix vdb fixes CVE-2024-9407

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-9407/fixes/registry"

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

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