VulnWatch by ve1ve2
medium 4.7 EPSS 0.29%

DEBIAN-CVE-2024-9407: 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…

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
debian 12:golang-github-containers-buildah

https://osv.dev/vulnerability/DEBIAN-CVE-2024-9407 ↗

osvdebianfix-available

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. Affected: Debian:12:golang-github-containers-buildah, Debian:13:golang-github-containers-buildah, Debian:14:golang-github-containers-buildah Fixed in: 1.37.4+ds1-1 References: https://security-tracker.debian.org/tracker/CVE-2024-9407

Linked vulnerabilities (1)

CVE-2024-9407 medium 4.7 EPSS 0.29% (p21) NVDCVE.orgGHSA
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N

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.

CWE: CWE-20Aliases: GHSA-fhqq-8f65-5xfcNVD: Deferred

Also reported by (1)