Skip to content
New issue

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

[3.9] bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 Continue (GH-25916) #25932

Merged
merged 1 commit into from May 5, 2021

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 5, 2021

Fixes http.client potential denial of service where it could get stuck reading lines from a malicious server after a 100 Continue response.

Co-authored-by: Gregory P. Smith greg@krypto.org
(cherry picked from commit 47895e3)

Co-authored-by: Gen Xu xgbarry@gmail.com

https://bugs.python.org/issue44022

Automerge-Triggered-By: GH:gpshead

…00 Continue (GH-25916)

Fixes http.client potential denial of service where it could get stuck reading lines from a malicious server after a 100 Continue response.

Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit 47895e3)

Co-authored-by: Gen Xu <xgbarry@gmail.com>
@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 5, 2021

@gen-xu and @gpshead: Status check is done, and it's a success .

@gpshead
gpshead approved these changes May 5, 2021
@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 5, 2021

@gen-xu and @gpshead: Status check is done, and it's a success .

@miss-islington miss-islington merged commit ea93270 into python:3.9 May 5, 2021
14 checks passed
14 checks passed
@github-actions
Docs
Details
@github-actions
Check for source changes
Details
@github-actions
Check if the ABI has changed
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x64)
Details
@github-actions
macOS
Details
@github-actions
Ubuntu
Details
@github-actions
Ubuntu SSL tests with OpenSSL
Details
Azure Pipelines PR #20210505.49 succeeded
Details
@travis-ci
Travis CI - Pull Request Build Passed
Details
@bedevere-bot
bedevere/issue-number Issue number 44022 found
Details
@bedevere-bot
bedevere/maintenance-branch-pr Valid maintenance branch PR title.
@bedevere-bot
bedevere/news News entry found in Misc/NEWS.d
@miss-islington miss-islington deleted the miss-islington:backport-47895e3-3.9 branch May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants