vulnerability
FreeBSD: VID-7f242313-aea5-11eb-8151-67f74cf7c704 (CVE-2021-31525): go -- net/http: ReadRequest can stack overflow due to recursion with very large headers
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 3 | (AV:N/AC:H/Au:N/C:N/I:N/A:P) | May 6, 2021 | Nov 4, 2022 | Dec 10, 2025 |
Severity
3
CVSS
(AV:N/AC:H/Au:N/C:N/I:N/A:P)
Published
May 6, 2021
Added
Nov 4, 2022
Modified
Dec 10, 2025
Description
The Go project reports: http.ReadRequest can stack overflow due to recursion when given a request with a very large header (~8-10MB depending on the architecture). A http.Server which overrides the default max header of 1MB by setting Server.MaxHeaderBytes to a much larger value could also be vulnerable in the same way.
Solution
freebsd-upgrade-package-go
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.