MEDIUM 4.4 Go

Buildah allows arbitrary directory mount

GHSA-586p-749j-fhwp · CVE-2024-9675 · GO-2024-3186

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes