CVE-2024-9407

medium

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2315887

https://access.redhat.com/security/cve/CVE-2024-9407

https://access.redhat.com/errata/RHSA-2024:8846

Details

Source: Mitre, NVD

Published: 2024-10-01

Updated: 2024-11-05

Risk Information

CVSS v2

Base Score: 4.4

Vector: CVSS2#AV:L/AC:H/Au:M/C:C/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 4.7

Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N

Severity: Medium