cve.bz

CVE-2024-9407

4.7 mediumEPSS 0.3%

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.

CVSS 3.1
4.7CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 21% of CVEs (scores of 2026-10-25)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fhqq-8f65-5xfcGogithub.com/containers/buildah<1.37.41.37.4
GHSA-fhqq-8f65-5xfcGogithub.com/containers/podman/v5<5.2.45.2.4
GHSA-fhqq-8f65-5xfcGogithub.com/containers/podman<5.2.45.2.4
GHSA-fhqq-8f65-5xfcGogithub.com/containers/podman/v2<5.2.45.2.4
GHSA-fhqq-8f65-5xfcGogithub.com/containers/podman/v3<5.2.45.2.4
GHSA-fhqq-8f65-5xfcGogithub.com/containers/podman/v4<5.2.45.2.4
GO-2024-3169Gogithub.com/containers/buildah<1.37.41.37.4
GO-2024-3169Gogithub.com/containers/podmanall versionsno fix published
GO-2024-3169Gogithub.com/containers/podman/v2all versionsno fix published
GO-2024-3169Gogithub.com/containers/podman/v3all versionsno fix published
GO-2024-3169Gogithub.com/containers/podman/v4all versionsno fix published
GO-2024-3169Gogithub.com/containers/podman/v5<5.2.45.2.4

References

Check your stackJSON