Improper Locking Affecting buildah package, versions <1:1.27.0-2.el9


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating

    Threat Intelligence

    EPSS
    0.52% (78th 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-5656824
  • published 28 May 2023
  • disclosed 15 Nov 2022

How to fix?

Upgrade AlmaLinux:9 buildah to version 1:1.27.0-2.el9 or higher.
This issue was patched in ALSA-2022:8008.

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 deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image is processed, each layer is unpacked using tar. If one of those layers is not a valid tar archive this causes an error leading to an unexpected situation where the code indefinitely waits for the tar unpacked stream, which never finishes. An attacker could use this vulnerability to craft a malicious image, which when downloaded and stored by an application using containers/storage, would then cause a deadlock leading to a Denial of Service (DoS).

References

CVSS Scores

version 3.1
Expand this section

NVD

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

SUSE

6.5 medium
Expand this section

Red Hat

6.5 medium