We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@neild requested issue #71988 to be considered for backport to the next 1.23 minor release.
@gopherbot please open backport issues for this security fix.
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/657216 mentions this issue: [release-branch.go1.23] net/http: reject newlines in chunk-size lines
[release-branch.go1.23] net/http: reject newlines in chunk-size lines
Sorry, something went wrong.
15e01a2
Unlike request headers, where we are allowed to leniently accept a bare LF in place of a CRLF, chunked bodies must always use CRLF line terminators. We were already enforcing this for chunk-data lines; do so for chunk-size lines as well. Also reject bare CRs anywhere other than as part of the CRLF terminator. Fixes CVE-2025-22871 Fixes #72010 For #71988 Change-Id: Ib0e21af5a8ba28c2a1ca52b72af8e2265ec79e4a Reviewed-on: https://go-review.googlesource.com/c/go/+/652998 Reviewed-by: Jonathan Amsterdam <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit d31c805) Reviewed-on: https://go-review.googlesource.com/c/go/+/657216
Closed by merging CL 657216 (commit 15e01a2) to release-branch.go1.23.
release-branch.go1.23
No branches or pull requests
@neild requested issue #71988 to be considered for backport to the next 1.23 minor release.
The text was updated successfully, but these errors were encountered: