CVE-2022-2879
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Go standard library | archive/tar | 0 < 1.18.7 | affected |
| Go standard library | archive/tar | 1.19.0-0 < 1.19.2 | affected |
Weaknesses
- CWE 400: Uncontrolled Resource Consumption
ADP Enrichment
CVE Program Container
Additional References
- https://go.dev/issue/54853
- https://go.dev/cl/439355
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- https://pkg.go.dev/vuln/GO-2022-1037
- https://security.gentoo.org/glsa/202311-09
References
- https://go.dev/issue/54853
- https://go.dev/cl/439355
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- https://pkg.go.dev/vuln/GO-2022-1037
- https://security.gentoo.org/glsa/202311-09
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.