Skip to content

Combined changes for release 6.5.6#3626

Merged
bdarnell merged 8 commits into
tornadoweb:branch6.5from
bdarnell:fixes-656
May 27, 2026
Merged

Combined changes for release 6.5.6#3626
bdarnell merged 8 commits into
tornadoweb:branch6.5from
bdarnell:fixes-656

Conversation

@bdarnell

Copy link
Copy Markdown
Member

No description provided.

takluyver and others added 8 commits May 21, 2026 15:21
This previously used substring search, which is incorrect, although
unlikely to be a vulnerability because there are no free-form text
fields allowed in this response format.
This ensures we limit the post-decompression size of the body, and not
only the compressed size (which is enforced via the Content-Length
header at header-processing time).
The lack of this check permitted a read of up to 3 bytes past the end
of the string in some cases.
When following a redirect to a different origin (scheme, host, or port),
auth-related headers (Authorization and Cookie) should be stripped to
avoid exposing them to the new host.
This appears to be a recent libcurl change.
@bdarnell bdarnell merged commit aba2569 into tornadoweb:branch6.5 May 27, 2026
15 checks passed
@bdarnell bdarnell deleted the fixes-656 branch May 27, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants