CVE-2024-9407
Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction
MEDIUM 4.7
En bref
- Source
- NVD
- EPSS
- EPSS 0.29 % · centile 22 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Deferred
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.
Faiblesses (CWE)
- CWE-20 — Validation d'entrée incorrecte
Références
- https://access.redhat.com/errata/RHSA-2024:10147
- https://access.redhat.com/errata/RHSA-2024:8846
- https://access.redhat.com/errata/RHSA-2024:9051
- https://access.redhat.com/errata/RHSA-2024:9454
- https://access.redhat.com/errata/RHSA-2024:9459
- https://access.redhat.com/errata/RHSA-2024:9926
- https://access.redhat.com/security/cve/CVE-2024-9407
- https://bugzilla.redhat.com/show_bug.cgi?id=2315887
- https://github.com/advisories/GHSA-fhqq-8f65-5xfc
- https://security.netapp.com/advisory/ntap-20241220-0010/
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Avis
- GHSA-fhqq-8f65-5xfc — Improper Input Validation in Buildah and Podman
- GO-2024-3169 — Improper Input Validation in Buildah and Podman in github.com/containers/buildah
Références européennes
- ENISA EUVD · EUVD-2024-3036
- GCVE · GCVE-0-2024-9407
Produits affectés
| Produit | Versions |
|---|---|
| podman | affected 0 < 5.2.4 |
| buildah | affected 0 < 1.37.4 |
| Red Hat · Red Hat Enterprise Linux 8 | unaffected 8100020241023085649.afee755d < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 4:4.9.4-16.el9_4 < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 4:5.2.2-9.el9_5 < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 2:1.37.5-1.el9_5 < * |
| Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 2:1.33.11-1.el9_4 < * |
| Red Hat · Red Hat OpenShift Container Platform 4.16 | unaffected 416.94.202411201433-0 < * |
| Red Hat · Red Hat Enterprise Linux 10 | |
| Red Hat · Red Hat Enterprise Linux 10 | |
| Red Hat · Red Hat OpenShift Container Platform 4 | |
| Red Hat · Red Hat OpenShift Container Platform 4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |