Skip to content
VulniPulse
Advisory severityMedium4.7Red Hat Linux

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

This medium-severity Red Hat Linux advisory covers CVE-2024-9407 affecting Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.4 Extended Update Support, Red Hat OpenShift Container Platform 4.16.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2024-9407 Source published Source updated

VulniPulse record published

Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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.

This vulnerability is classified as moderate rather than important because it requires the attacker to have build privileges on the system, which inherently limits the scope of exploitation to trusted or semi-trusted users who already have some level of access.

Additionally, while the flaw allows mounting and potential modification of host files, it is confined to the build process, meaning the exploitation window is limited to when a container is being built, not during runtime. Red Hat severity: Moderate — CVSS 4.7 (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N).

Weakness: CWE-20.

Affected products named by the advisory: Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9.4 Extended Update Support; Red Hat OpenShift Container Platform 4.16; Red Hat Enterprise Linux 10; and 2 more.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 5 days ago·verify at source

Fixed versions
  • container-tools:rhel8-8100020241023085649.afee755d
  • podman-4:4.9.4-16.el9_4
  • podman-4:5.2.2-9.el9_5
  • buildah-2:1.37.5-1.el9_5
  • buildah-2:1.33.11-1.el9_4
  • openshift/ose-rhel-coreos-9:416.94.202411201433-0
  • RHSA-2024:8846
  • RHSA-2024:9051
  • RHSA-2024:9454
  • RHSA-2024:9459
  • RHSA-2024:9926
  • RHSA-2024:10147

Official advisory · high-confidence parse· fetched 5 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Official advisory · high-confidence parse· fetched 5 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.