Allocation of Resources Without Limits or Throttling Affecting golang-misc package, versions <0:1.18.9-1.module+el8.7.0+17640+84246675


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.21% (60th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-GOLANGMISC-3041400
  • 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 Centos:8 golang-misc to version 0:1.18.9-1.module+el8.7.0+17640+84246675 or higher.

NVD Description

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

version 3.1