Improper Input Validation Affecting github.com/containers/buildah/internal/volumes package, versions <1.33.10 >=1.37.0 <1.37.4
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-GOLANG-GITHUBCOMCONTAINERSBUILDAHINTERNALVOLUMES-8145243
- published 2 Oct 2024
- disclosed 1 Oct 2024
- credit Unknown
How to fix?
Upgrade github.com/containers/buildah/internal/volumes
to version 1.33.10, 1.37.4 or higher.
Overview
Affected versions of this package are vulnerable to Improper Input Validation due to improper input validation in the bind-propagation
option of the Dockerfile RUN --mount
instruction, an attacker with build privileges on the system can exploit this issue to mount sensitive directories from the host into a container during the build process and potentially modify the contents of those mounted files. This vulnerability can bypass SELinux protections by allowing the source directory to be relabeled, granting the container access to host files.