Improper Input Validation Affecting buildah package, versions <2:1.37.5-1.el9_5
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALMALINUX9-BUILDAH-8383751
- published 18 Nov 2024
- disclosed 12 Nov 2024
Introduced: 12 Nov 2024
New CVE-2024-9407 Open this link in a new tabHow to fix?
Upgrade AlmaLinux:9
buildah
to version 2:1.37.5-1.el9_5 or higher.
This issue was patched in ALSA-2024:9459
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream buildah
package and not the buildah
package as distributed by AlmaLinux
.
See How to fix?
for AlmaLinux:9
relevant fixed versions and status.
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.
References
- https://errata.almalinux.org/8/ALSA-2024-8846.html
- https://errata.almalinux.org/9/ALSA-2024-9051.html
- https://errata.almalinux.org/9/ALSA-2024-9454.html
- https://errata.almalinux.org/9/ALSA-2024-9459.html
- https://access.redhat.com/security/cve/CVE-2024-9407
- 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://bugzilla.redhat.com/show_bug.cgi?id=2315887
- https://access.redhat.com/errata/RHSA-2024:9926
- https://access.redhat.com/errata/RHSA-2024:10147