CVE-2024-9407
Improper Input Validation in Buildah and Podman in github.com/containers/buildah
Description
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.
How to fix CVE-2024-9407
To remediate CVE-2024-9407, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 1.37.4 or later
- —upgrade to 1.37.4 or later
- —no fix listed
- —upgrade to 5.2.4 or later
- —upgrade to 5.2.4 or later
- —no fix listed
- —upgrade to 5.2.4 or later
- —no fix listed
- —no fix listed
- —upgrade to 5.2.4 or later
- —upgrade to 5.2.4 or later
- —upgrade to 5.2.4 or later
Is CVE-2024-9407 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (13)
- from 0
- from 0, < 1.37.4
- from 0, < 1.37.4
- from 0
- from 0, < 5.2.4
- from 0, < 5.2.4
- from 0
- from 0, < 5.2.4
- from 0
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N |