Resource Exhaustion Affecting golang-misc package, versions <0:1.18.6-1.43.amzn1
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-AMZN201803-GOLANGMISC-5441366
- published 21 Apr 2023
- disclosed 6 Apr 2023
Introduced: 6 Apr 2023
CVE-2023-24534 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2018.03 golang-misc to version 0:1.18.6-1.43.amzn1 or higher.
This issue was patched in ALAS-2023-1731.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by Amazon-Linux.
See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.
HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24534
- https://go.dev/cl/481994
- https://go.dev/issue/58975
- https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
- https://pkg.go.dev/vuln/GO-2023-1704
- https://security.netapp.com/advisory/ntap-20230526-0007/
- https://security.gentoo.org/glsa/202311-09