Allocation of Resources Without Limits or Throttling Affecting golang-1.17 package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.67% (76th 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-UBUNTU2204-GOLANG117-3040828
  • published7 Oct 2022
  • disclosed14 Oct 2022

Introduced: 7 Oct 2022

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

How to fix?

There is no fixed version for Ubuntu:22.04 golang-1.17.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-1.17 package and not the golang-1.17 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 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