CVE-2024-9407
MEDIUM 4.7CVSS 3.1Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction
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.
- Published
- 1 Oct 2024
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-20
- Also known as
- GHSA-fhqq-8f65-5xfcGO-2024-3169
- Sources
- NVDJSONCVE ListJSONOSV GHSA-fhqq-8f65-5xfcJSONOSV GO-2024-3169JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://github.com/containers/podman | podman | < 5.2.4 | 5.2.4 |
| CVE List | https://github.com/containers/buildah | buildah | < 1.37.4 | 1.37.4 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | container-tools:rhel8cpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | podmancpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | buildahcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | buildahcpe:/a:redhat:rhel_eus:9.4::appstream |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.16::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | buildahcpe:/o:redhat:enterprise_linux:10 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | podmancpe:/o:redhat:enterprise_linux:10 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | buildahcpe:/a:redhat:openshift:4 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift4/ose-docker-buildercpe:/a:redhat:openshift:4 |
all versions | |
| OSV | Go | github.com/containers/buildah | < 1.37.4 | 1.37.4 |
| OSV | Go | github.com/containers/podman/v5 | < 5.2.4 | 5.2.4 |
| OSV | Go | github.com/containers/podman | < 5.2.4 | 5.2.4 |
| OSV | Go | github.com/containers/podman/v2 | < 5.2.4 | 5.2.4 |
| OSV | Go | github.com/containers/podman/v3 | < 5.2.4 | 5.2.4 |
| OSV | Go | github.com/containers/podman/v4 | < 5.2.4 | 5.2.4 |
| OSV | Go | github.com/containers/podman | all versions | |
| OSV | Go | github.com/containers/podman/v2 | all versions | |
| OSV | Go | github.com/containers/podman/v3 | all versions | |
| OSV | Go | github.com/containers/podman/v4 | all versions |
References
- https://access.redhat.com/errata/RHSA-2024:10147 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:8846 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:9051 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:9454 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:9459 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:9926 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/security/cve/CVE-2024-9407 · vdb-entry, x_refsource_REDHAT, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2315887 · issue-tracking, x_refsource_REDHAT, WEB
- https://github.com/advisories/GHSA-fhqq-8f65-5xfc · ADVISORY
- https://security.netapp.com/advisory/ntap-20241220-0010/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-9407 · ADVISORY
- https://github.com/containers/buildah/commit/e4e2ad5ca2088d7c388109394135ead7aaf1f4f4 · WEB, FIX
- https://github.com/containers/podman/releases/tag/v5.2.4 · WEB
- https://pkg.go.dev/vuln/GO-2024-3169 · WEB
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 1 Oct 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Oct 2024)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 1 Oct 2024)