CVE-2024-9407Red Hat Enterprise Linux 8
Medium 4.7
Follow: this CVE · Red Hat · Red Hat Enterprise Linux 8 We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.7
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 16
- Auth required
- Yes
- Published
- Oct 1, 2024
- Updated
- Nov 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Red Hat Enterprise Linux 8.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/containers/buildah |
< 1.37.4 |
1.37.4 |
go get github.com/containers/buildah@v1.37.4 |
| Go | github.com/containers/buildah |
< 1.37.4 |
1.37.4 |
go get github.com/containers/buildah@v1.37.4 |
| Go | github.com/containers/podman |
< 5.2.4 |
5.2.4 |
go get github.com/containers/podman@v5.2.4 |
| Go | github.com/containers/podman |
all |
no fixed version | — |
| Go | github.com/containers/podman/v2 |
< 5.2.4 |
5.2.4 |
go get github.com/containers/podman/v2@v5.2.4 |
| Go | github.com/containers/podman/v2 |
all |
no fixed version | — |
| Go | github.com/containers/podman/v3 |
< 5.2.4 |
5.2.4 |
go get github.com/containers/podman/v3@v5.2.4 |
| Go | github.com/containers/podman/v3 |
all |
no fixed version | — |
| Go | github.com/containers/podman/v4 |
< 5.2.4 |
5.2.4 |
go get github.com/containers/podman/v4@v5.2.4 |
| Go | github.com/containers/podman/v4 |
all |
no fixed version | — |
| Go | github.com/containers/podman/v5 |
< 5.2.4 |
5.2.4 |
go get github.com/containers/podman/v5@v5.2.4 |
| Go | github.com/containers/podman/v5 |
< 5.2.4 |
5.2.4 |
go get github.com/containers/podman/v5@v5.2.4 |
Per OSV / GitHub Advisories (GHSA-fhqq-8f65-5xfc, GO-2024-3169). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Red Hat Enterprise Linux 8
- Red Hat · Red Hat Enterprise Linux 9
- Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat · Red Hat OpenShift Container Platform 4.16
- Red Hat · Red Hat Enterprise Linux 10
- Red Hat · Red Hat OpenShift Container Platform 4
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: buildah security update · Red Hat · RHSA-2024:9926 · Nov 25, 2024 Medium
- Red Hat Security Advisory: podman security update · Red Hat · RHSA-2024:9051 · Nov 13, 2024 High
- Red Hat Security Advisory: buildah security update · Red Hat · RHSA-2024:9459 · Nov 13, 2024 High
Also: Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.