CVE-2024-9407
mediumA vulnerability exists in the bind-propagation option of the 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.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://access.redhat.com/errata/RHSA-2024:10147 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8846 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9051 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9454 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9459 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9926 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2024-9407 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2315887 secalert@redhat.com
- https://github.com/advisories/GHSA-fhqq-8f65-5xfc secalert@redhat.com
- https://security.netapp.com/advisory/ntap-20241220-0010/ af854a3a-2127-422b-91ae-364da2661108

