Excessive memory allocation in net/http and net/textproto
Summary
Excessive memory allocation in net/http and net/textproto
Original description
The description as published by the source.
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.
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2023-24534 golang-1.15
- Ubuntu UBUNTU-CVE-2023-24534 golang-1.10
References
- advisory security.gentoo.org
- advisory security.netapp.com
- advisory nvd.nist.gov
- advisory github.com
- web go.dev
- web go.dev
- web groups.google.com
- web pkg.go.dev
- web pkg.go.dev