CVE-2024-9407
Buildah: 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.
Fixes and workarounds
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: CNA: redhatFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.37.4. Check the advisory for supported release branches.
Source: OSV GHSA-fhqq-8f65-5xfcFix
github.com/containers/podman/v5 (Go): OSV reports a fixed version 5.2.4. Check the advisory for supported release branches.
Source: OSV GHSA-fhqq-8f65-5xfcFix
github.com/containers/podman (Go): OSV reports a fixed version 5.2.4. Check the advisory for supported release branches.
Source: OSV GHSA-fhqq-8f65-5xfcFix
github.com/containers/podman/v2 (Go): OSV reports a fixed version 5.2.4. Check the advisory for supported release branches.
Source: OSV GHSA-fhqq-8f65-5xfcFix
github.com/containers/podman/v3 (Go): OSV reports a fixed version 5.2.4. Check the advisory for supported release branches.
Source: OSV GHSA-fhqq-8f65-5xfcFix
github.com/containers/podman/v4 (Go): OSV reports a fixed version 5.2.4. Check the advisory for supported release branches.
Source: OSV GHSA-fhqq-8f65-5xfcAffected products and versions
| Product | Versions | Authority |
|---|---|---|
podman
https://github.com/containers/podman |
≥ 0; < 5.2.4 (affected, semver)
Other versions: unaffected |
CNA: redhat |
buildah
https://github.com/containers/buildah |
≥ 0; < 1.37.4 (affected, semver)
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat container-tools:rhel8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8100020241023085649.afee755d; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 4:4.9.4-16.el9_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 4:5.2.2-9.el9_5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:1.37.5-1.el9_5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:1.33.11-1.el9_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.16 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 416.94.202411201433-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 10 Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 10 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4 Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4 Red Hat openshift4/ose-docker-builder
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 0; < 1.37.4 (affected, semver); OSV events: introduced 0; fixed 1.37.4Source events (semver)
Other versions: unaffected |
OSV GHSA-fhqq-8f65-5xfc |
github.com/containers/podman/v5github.com/containers/podman/v5
Go |
≥ 0; < 5.2.4 (affected, semver); OSV events: introduced 0; fixed 5.2.4Source events (semver)
Other versions: unaffected |
OSV GHSA-fhqq-8f65-5xfc |
github.com/containers/podmangithub.com/containers/podman
Go |
≥ 0; < 5.2.4 (affected, semver); OSV events: introduced 0; fixed 5.2.4Source events (semver)
Other versions: unaffected |
OSV GHSA-fhqq-8f65-5xfc |
github.com/containers/podman/v2github.com/containers/podman/v2
Go |
≥ 0; < 5.2.4 (affected, semver); OSV events: introduced 0; fixed 5.2.4Source events (semver)
Other versions: unaffected |
OSV GHSA-fhqq-8f65-5xfc |
github.com/containers/podman/v3github.com/containers/podman/v3
Go |
≥ 0; < 5.2.4 (affected, semver); OSV events: introduced 0; fixed 5.2.4Source events (semver)
Other versions: unaffected |
OSV GHSA-fhqq-8f65-5xfc |
github.com/containers/podman/v4github.com/containers/podman/v4
Go |
≥ 0; < 5.2.4 (affected, semver); OSV events: introduced 0; fixed 5.2.4Source events (semver)
Other versions: unaffected |
OSV GHSA-fhqq-8f65-5xfc |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 4.7 medium |
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2024:10147CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:8846CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9051CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9454CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9459CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9926CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-9407CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2315887CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://github.com/advisories/GHSA-fhqq-8f65-5xfcCNA: redhat
- https://security.netapp.com/advisory/ntap-20241220-0010/ADP: CVE
- https://github.com/advisories/GHSA-fhqq-8f65-5xfcOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-fhqq-8f65-5xfcOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.