CVE-2022-2879

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.
References
Link Resource
https://go.dev/issue/54853 Issue Tracking Third Party Advisory
https://groups.google.com/g/golang-announce/c/xtuG5faxtaU Mailing List Third Party Advisory
https://go.dev/cl/439355 Vendor Advisory
https://pkg.go.dev/vuln/GO-2022-1037 Vendor Advisory
Configurations

Configuration 1

cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Information

Published : 2022-10-14 03:15

Updated : 2022-12-27 10:15


NVD link : CVE-2022-2879

Mitre link : CVE-2022-2879

Products Affected
No products.
CWE