Improper Input Validation Affecting podman-tests package, versions <4:4.9.4-16.el9_4


Severity

Recommended
high

Based on Rocky Linux security rating

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-ROCKY9-PODMANTESTS-8399659
  • published 20 Nov 2024
  • disclosed 1 Oct 2024

How to fix?

Upgrade Rocky-Linux:9 podman-tests to version 4:4.9.4-16.el9_4 or higher.
This issue was patched in RLSA-2024:9051.

NVD Description

Note: Versions mentioned in the description apply only to the upstream podman-tests package and not the podman-tests package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 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
Expand this section

NVD

4.7 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

Red Hat

4.7 medium
Expand this section

SUSE

5.3 medium