Allocation of Resources Without Limits or Throttling Affecting golist-debuginfo package, versions <0:0.10.1-10.amzn2.0.2


Severity

Recommended
high

Based on Amazon 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-AMZN2-GOLISTDEBUGINFO-3244072
  • published21 Jan 2023
  • disclosed14 Oct 2022

Introduced: 14 Oct 2022

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

How to fix?

Upgrade Amazon-Linux:2 golist-debuginfo to version 0:0.10.1-10.amzn2.0.2 or higher.
This issue was patched in ALAS2-2023-1913.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golist-debuginfo package and not the golist-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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