CVE-2024-9407CWE-20

CVE-2024-9407

Medium · published October 2, 2024

CVSS v3.1
4.7
EPSS
0%
Percentile
20.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00290 · 20.5th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-10-02T01:15Z
References (10)
EPSS history
Timeline
  • 01 OCT 20:13Z
    Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction
    cvelistv5