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/cl/439355 | Patch |
https://go.dev/issue/54853 | Issue Tracking Third Party Advisory |
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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: Go
Published: 2022-10-14T00:00:00
Updated: 2023-06-12T19:05:28.975Z
Reserved: 2022-08-17T00:00:00
Link: CVE-2022-2879
JSON object: View
NVD Information
Status : Modified
Published: 2022-10-14T15:15:17.647
Modified: 2023-11-25T11:15:09.553
Link: CVE-2022-2879
JSON object: View
Redhat Information
No data.
CWE