CVE-2024-9407
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/containers/podman/v2 | Go Modules | 5.2.4 |
| github.com/containers/buildah | Go Modules | 1.37.4 |
| podman | GitHub Packages | 5.2.4 |
| github.com/containers/podman/v5 | Go Modules | 5.2.4 |
| github.com/containers/podman/v4 | Go Modules | 5.2.4 |
| github.com/containers/podman/v3 | Go Modules | 5.2.4 |
| buildah | GitHub Packages | 1.37.4 |
| github.com/containers/podman | Go Modules | 5.2.4 |
| podman | Alpine | 5.2.4-r0 |
| buildah | Alpine | 1.37.4-r0 |
| buildah | Chainguard | 1.39.0-r2 |
| buildah | Wolfi | 1.39.0-r2 |
Risk scores
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
References
- https://access.redhat.com/errata/RHSA-2024:10147 technical
- https://access.redhat.com/errata/RHSA-2024:8846 technical
- https://access.redhat.com/errata/RHSA-2024:9051 technical
- https://access.redhat.com/errata/RHSA-2024:9454 technical
- https://access.redhat.com/errata/RHSA-2024:9459 technical
- https://access.redhat.com/errata/RHSA-2024:9926 technical
- https://access.redhat.com/security/cve/CVE-2024-9407 technical
- https://bugzilla.redhat.com/show_bug.cgi?id=2315887 technical
- https://github.com/advisories/GHSA-fhqq-8f65-5xfc technical
- https://security.netapp.com/advisory/ntap-20241220-0010/ technical