CVE-2023-24534
HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.89%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.89% probability · 78th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400
- Affected
- golang/go
- Source
- security@golang.org
References
- https://go.dev/cl/481994Patch, Vendor Advisory
- https://go.dev/issue/58975Issue Tracking, Vendor Advisory
- https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8Mailing List, Patch
- https://pkg.go.dev/vuln/GO-2023-1704Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230526-0007/
- https://go.dev/cl/481994Patch, Vendor Advisory
- https://go.dev/issue/58975Issue Tracking, Vendor Advisory
- https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8Mailing List, Patch
- https://pkg.go.dev/vuln/GO-2023-1704Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230526-0007/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.