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.7] bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 Continue (GH-25916) #25934

Merged
merged 1 commit into from
May 6, 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

…00 Continue (pythonGH-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

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

@miss-islington
Copy link
Contributor Author

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

1 similar comment
@miss-islington
Copy link
Contributor Author

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

@gpshead gpshead added the type-security A security issue label May 5, 2021
@miss-islington
Copy link
Contributor Author

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

@miss-islington
Copy link
Contributor Author

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@ned-deily ned-deily merged commit 078b146 into python:3.7 May 6, 2021
@miss-islington miss-islington deleted the backport-47895e3-3.7 branch May 6, 2021 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error type-security A security issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants