Improper resource allocation In golang-1.24
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 13 | - | ||
debian 11 | - | ||
debian 12 | - | ||
debian 14 | 1.25.2-1 | ||
go | 1.24.8 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3.