7.5

CVE-2022-2879

Unbounded memory consumption when reading headers in archive/tar

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
GolangGo Version < 1.18.7
GolangGo Version >= 1.19.0 < 1.19.2
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 1.54% 0.717
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-770 Allocation of Resources Without Limits or Throttling

The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

https://go.dev/cl/439355
Patch
https://go.dev/issue/54853
Third Party Advisory
Issue Tracking
https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
Mailing List
Release Notes
https://pkg.go.dev/vuln/GO-2022-1037
Vendor Advisory
https://security.gentoo.org/glsa/202311-09