Skip to content
4.7 Medium

CVE-2024-9407 Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction

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.

CVSS 3.1 detail

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

Exploitable with local access to the machine, with an administrator account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Local
Attack complexity
High
Privileges required
High
Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Affected products and versions

Product Affected versions Fixed in
Red Hat Enterprise Linux 8 8100020241023085649 earliest → < 8100020241023085649.afee755d 8100020241023085649.afee755d
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 9.4 Extended Update Support Versions not published
Red Hat OpenShift Container Platform 4.16 416.94 earliest → < 416.94.202411201433-0 416.94.202411201433-0
Red Hat Enterprise Linux 10 Versions not published
Red Hat OpenShift Container Platform 4 Versions not published
The 1839 CVEs of Red Hat Enterprise Linux 8 →
Track this CVE