Allocation of Resources Without Limits or Throttling Affecting go1.18-doc package, versions <1.18.7-150000.1.34.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES154-GO118DOC-3057238
- published 20 Oct 2022
- disclosed 19 Oct 2022
Introduced: 19 Oct 2022
CVE-2022-2879 Open this link in a new tabHow to fix?
Upgrade SLES:15.4 go1.18-doc to version 1.18.7-150000.1.34.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream go1.18-doc package and not the go1.18-doc package as distributed by SLES.
See How to fix? for SLES:15.4 relevant fixed versions and status.
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
- https://www.suse.com/security/cve/CVE-2022-2879.html
- https://bugzilla.suse.com/1204024
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/THKJHFMX4DAZXJ5MFPN3BNHZDN7BW5RI/
- https://go.dev/cl/439355
- https://go.dev/issue/54853
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- https://pkg.go.dev/vuln/GO-2022-1037
- https://security.gentoo.org/glsa/202311-09