Improper Input Validation Affecting github.com/containers/buildah/internal/volumes package, versions <1.33.10>=1.37.0 <1.37.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCONTAINERSBUILDAHINTERNALVOLUMES-8145243
  • published2 Oct 2024
  • disclosed1 Oct 2024
  • creditUnknown

Introduced: 1 Oct 2024

CVE-2024-9407  (opens in a new tab)
CWE-20  (opens in a new tab)

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.

CVSS Scores

version 4.0
version 3.1