Improper Input Validation Affecting container-tools:rhel8/slirp4netns package, versions <0:1.2.3-1.module_el8.10.0+3845+87b84552


Severity

Recommended
high

Based on AlmaLinux security rating.

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-ALMALINUX8-CONTAINERTOOLS-8347955
  • published6 Nov 2024
  • disclosed12 Nov 2024

Introduced: 6 Nov 2024

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

How to fix?

Upgrade AlmaLinux:8 container-tools:rhel8/slirp4netns to version 0:1.2.3-1.module_el8.10.0+3845+87b84552 or higher.
This issue was patched in ALSA-2024:8846.

NVD Description

Note: Versions mentioned in the description apply only to the upstream container-tools:rhel8/slirp4netns package and not the container-tools:rhel8/slirp4netns package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 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.

CVSS Scores

version 3.1