Vulnerability Report: GO-2025-3563
standard library- CVE-2025-22871
- Affects: net/http/internal
- Published: Apr 08, 2025
The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.
Affected Packages
-
PathGo VersionsSymbols
-
before go1.23.8, from go1.24.0-0 before go1.24.2
2 unexported affected symbols
- chunkedReader.Read
- readChunkLine
Aliases
References
- https://go.dev/cl/652998
- https://go.dev/issue/71988
- https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk
- https://vuln.go.dev/ID/GO-2025-3563.json
Credits
- Jeppe Bonde Weikop
Feedback
See anything missing or incorrect?
Suggest an edit to this report.