Directory Traversal Affecting buildah package, versions <2:1.37.5-1.el9_5


Severity

Recommended
high

Based on AlmaLinux security rating

    Threat Intelligence

    EPSS
    0.05% (18th 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-ALMALINUX9-BUILDAH-8309637
  • published 29 Oct 2024
  • disclosed 12 Nov 2024

How to fix?

Upgrade AlmaLinux:9 buildah to version 2:1.37.5-1.el9_5 or higher.
This issue was patched in ALSA-2024:9459.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buildah package and not the buildah package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1
Expand this section

NVD

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

Red Hat

4.4 medium
Expand this section

SUSE

4.4 medium