Allocation of Resources Without Limits or Throttling Affecting buildah package, versions <1:1.23.4-5.rhaos4.12.el9


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.6% (74th 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 IDSNYK-RHEL9-BUILDAH-3564215
  • published7 Oct 2022
  • disclosed4 Oct 2022

Introduced: 4 Oct 2022

CVE-2022-2879  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade RHEL:9 buildah to version 1:1.23.4-5.rhaos4.12.el9 or higher.
This issue was patched in RHSA-2023:3613.

NVD Description

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

Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.

CVSS Base Scores

version 3.1