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 | |
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 |
Configurations
History
21 Nov 2024, 07:01
Type | Values Removed | Values Added |
---|---|---|
References | () https://go.dev/cl/439355 - Patch | |
References | () https://go.dev/issue/54853 - Issue Tracking, Third Party Advisory | |
References | () https://groups.google.com/g/golang-announce/c/xtuG5faxtaU - Mailing List, Release Notes | |
References | () https://pkg.go.dev/vuln/GO-2022-1037 - Vendor Advisory | |
References | () https://security.gentoo.org/glsa/202311-09 - |
25 Nov 2023, 11:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
Information
Published : 2022-10-14 15:15
Updated : 2024-11-21 07:01
NVD link : CVE-2022-2879
Mitre link : CVE-2022-2879
CVE.ORG link : CVE-2022-2879
JSON object : View
Products Affected
golang
- go
CWE
CWE-770
Allocation of Resources Without Limits or Throttling