CVE-2024-9675: Buildah allows arbitrary directory mount
(updated )
A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a RUN
instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.
References
- access.redhat.com/errata/RHSA-2024:8563
- access.redhat.com/errata/RHSA-2024:8675
- access.redhat.com/errata/RHSA-2024:8679
- access.redhat.com/errata/RHSA-2024:8686
- access.redhat.com/errata/RHSA-2024:8690
- access.redhat.com/errata/RHSA-2024:8700
- access.redhat.com/errata/RHSA-2024:8703
- access.redhat.com/errata/RHSA-2024:8707
- access.redhat.com/errata/RHSA-2024:8708
- access.redhat.com/errata/RHSA-2024:8709
- access.redhat.com/errata/RHSA-2024:8846
- access.redhat.com/errata/RHSA-2024:8984
- access.redhat.com/errata/RHSA-2024:9051
- access.redhat.com/errata/RHSA-2024:9454
- access.redhat.com/errata/RHSA-2024:9459
- access.redhat.com/security/cve/CVE-2024-9675
- bugzilla.redhat.com/show_bug.cgi?id=2317458
- github.com/advisories/GHSA-586p-749j-fhwp
- github.com/containers/buildah
- github.com/containers/buildah/commit/aa67e5d71ee7ec07122a210baa3b13966a9e086c
- nvd.nist.gov/vuln/detail/CVE-2024-9675
- pkg.go.dev/vuln/GO-2024-3186
Detect and mitigate CVE-2024-9675 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →