Description (CNA)
Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit. By sending a lot of very small cookies such as "a=;", an attacker can make an HTTP server allocate a large amount of structs, causing large memory consumption.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / net/http | affected 0 before 1.24.8; affected 1.25.0 before 1.25.2 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/issue/75672
- https://go.dev/cl/709855
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- https://pkg.go.dev/vuln/GO-2025-4012
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.