p PatchFirst

CVE-2024-9407

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

CVSS 4.7 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • SUSE-SU-2025:20279-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2025:20143-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2025:0775-1 · SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3 ·
  • SUSE-SU-2025:20080-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2025:0320-1 · SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3 ·
  • SUSE-SU-2025:0319-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • SUSE-SU-2025:0267-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • SUSE-SU-2024:4303-1 · SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3 ·
  • RHSA-2024:9926 · Red Hat rhel eus 9.4 appstream ·
  • RLSA-2024:9051 · Rocky Linux 9 ·
  • SUSE-SU-2024:3988-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • RHSA-2024:9051 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2024:9459 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2024:9454 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2024:8846 · Red Hat Enterprise Linux 8 appstream ·
  • ALSA-2024:9454 · AlmaLinux 9 ·
  • ALSA-2024:9459 · AlmaLinux 9 ·
  • ALSA-2024:9051 · AlmaLinux 9 ·
  • RLSA-2024:8846 · Rocky Linux 8 ·
  • openSUSE-SU-2024:0350-1 · SUSE Package Hub 12 ·
  • SUSE-SU-2024:3911-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP5, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
  • ALSA-2024:8846 · AlmaLinux 8 ·
  • openSUSE-SU-2024:14447-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2024:3741-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, openSUSE Leap Micro 5.5, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Containers 15 SP5, SUSE Linux Enterprise Module for Containers 15 SP6 ·
  • SUSE-SU-2024:3545-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Linux Enterprise Module for Containers 15 SP5, SUSE Linux Enterprise Module for Containers 15 SP6 ·
  • openSUSE-SU-2024:14388-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2024:14390-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • red hat enterprise linux 8

    Versions
    • ≥ 8100020241023085649.afee755d: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 4:4.9.4-16.el9_4: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 4:5.2.2-9.el9_5: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 2:1.37.5-1.el9_5: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9.4 extended update support

    Versions
    • ≥ 2:1.33.11-1.el9_4: Not affected (rpm)

    No fix published

  • red hat openshift container platform 4.16

    Versions
    • ≥ 416.94.202411201433-0: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    No fix published

  • red hat openshift container platform 4

    No fix published

  • red hat openshift container platform 4

    No fix published

  • buildah Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.37.4-r0

    Update to 1.37.4-r0

  • buildah Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.37.4-r0

    Update to 1.37.4-r0

  • buildah Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.37.4-r0

    Update to 1.37.4-r0

  • buildah Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.37.4-r0

    Update to 1.37.4-r0

  • buildah Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.37.4-r0

    Update to 1.37.4-r0

  • podman Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 5.2.4-r0

    Update to 5.2.4-r0

  • podman Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 5.2.4-r0

    Update to 5.2.4-r0

  • podman Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 5.2.4-r0

    Update to 5.2.4-r0

  • podman Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 5.2.4-r0

    Update to 5.2.4-r0

  • podman Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 5.2.4-r0

    Update to 5.2.4-r0

  • golang-github-containers-buildah Debian 12

    Versions
    • 1.28.2+ds1-3
    • 1.28.2+ds1-3+deb12u1
    • 1.29.0+ds1-1
    • 1.30.0+ds1-1
    • 1.30.0+ds1-2
    • 1.30.0+ds1-3
    All versions (59)
    • 1.31.2+ds1-1
    • 1.31.2+ds1-2
    • 1.31.2+ds1-3
    • 1.32.0+ds1-1
    • 1.32.0+ds1-2
    • 1.32.2+ds1-1
    • 1.33.1+ds1-1
    • 1.33.1+ds1-2
    • 1.33.3+ds1-1
    • 1.33.3+ds1-2
    • 1.33.5+ds1-3
    • 1.33.5+ds1-4
    • 1.33.7+ds1-1
    • 1.34.0+ds1-1
    • 1.34.0+ds1-2
    • 1.35.3+ds1-1
    • 1.35.3+ds1-2
    • 1.35.3+ds1-3
    • 1.37.0+ds1-1
    • 1.37.1+ds1-1
    • 1.37.1+ds1-2
    • 1.37.2+ds1-1
    • 1.37.2+ds1-2
    • 1.37.2+ds1-3
    • 1.37.3+ds1-1
    • 1.37.3+ds1-2
    • 1.37.3+ds1-3
    • 1.37.4+ds1-1
    • 1.37.5+ds1-1
    • 1.38.0+ds1-1
    • 1.38.0+ds1-2
    • 1.38.1+ds1-1
    • 1.39.0+ds1-1
    • 1.39.3+ds1-1
    • 1.41.4+ds1-1
    • 1.41.4+ds1-2
    • 1.41.4+ds1-3
    • 1.41.5+ds1-1
    • 1.41.5+ds1-2
    • 1.41.5+ds1-3
    • 1.41.5+ds1-4
    • 1.42.1+ds1-1
    • 1.42.1+ds1-2
    • 1.43.0+ds1-1
    • 1.43.0+ds1-2
    • 1.43.1+ds1-1
    • 1.43.1+ds1-2
    • 1.43.1+ds1-3
    • 1.43.2+ds1-1
    • 1.43.2+ds1-2
    • 1.43.2+ds1-3
    • 1.45.0+ds1-1
    • 1.45.0+ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-containers-buildah Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.37.4+ds1-1

    Update to 1.37.4+ds1-1

  • golang-github-containers-buildah Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.37.4+ds1-1

    Update to 1.37.4+ds1-1

  • golang-github-containers-buildah Ubuntu 22.04 LTS

    Versions
    • 1.21.3+ds1-1ubuntu1
    • 1.23.1+ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-containers-buildah Ubuntu Pro 24.04 LTS

    Versions
    • 1.28.2+ds1-3build1
    • 1.32.2+ds1-1
    • 1.33.1+ds1-2
    • 1.33.3+ds1-2
    • 1.33.5+ds1-4
    • 1.33.5+ds1-4build1
    All versions (15)
    • 1.33.5+ds1-4build2
    • 1.33.7+ds1-1
    • 1.33.7+ds1-1ubuntu0.24.04.1
    • 1.33.7+ds1-1ubuntu0.24.04.2
    • 1.33.7+ds1-1ubuntu0.24.04.2+esm1
    • 1.33.7+ds1-1ubuntu0.24.04.2+esm2
    • 1.33.7+ds1-1ubuntu0.24.04.3
    • 1.33.7+ds1-1ubuntu0.24.04.3+esm2
    • 1.33.7+ds1-1ubuntu0.24.04.3+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →