FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.7] gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) by miss-islington · Pull Request #94095 · python/cpython · GitHub

/ cpython Public

[3.7] gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) - #94095

Merged
ned-deily merged 1 commit into
python:3.7from
miss-islington:backport-4abab6b-3.7
Jun 22, 2022
Merged

[3.7] gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879)#94095
ned-deily merged 1 commit into
python:3.7from
miss-islington:backport-4abab6b-3.7

Conversation

Copy link
Copy Markdown
Contributor

Fix an open redirection vulnerability in the http.server module when
an URI path starts with // that could produce a 301 Location header
with a misleading target. Vulnerability discovered, and logic fix
proposed, by Hamza Avvan (@hamzaavvan).

Test and comments authored by Gregory P. Smith [Google].
(cherry picked from commit 4abab6b)

Co-authored-by: Gregory P. Smith greg@krypto.org

…pythonGH-93879)

Fix an open redirection vulnerability in the `http.server` module when
an URI path starts with `//` that could produce a 301 Location header
with a misleading target.  Vulnerability discovered, and logic fix
proposed, by Hamza Avvan (@hamzaavvan).

Test and comments authored by Gregory P. Smith [Google].
(cherry picked from commit 4abab6b)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

1 similar comment

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

bedevere-bot added type-bug An unexpected behavior, bug, or error type-security A security issue labels Jun 21, 2022

gpshead commented Jun 21, 2022

Copy link
Copy Markdown
Member

Up to the RM team to decide is this minor security fix is worth going into such an old branch. Consider our statement about http.server in https://docs.python.org/3.7/library/http.server.html.

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

ned-deily self-assigned this Jun 22, 2022

ambv commented Jun 22, 2022

Copy link
Copy Markdown
Contributor

FWIW I did merge #94093 and #94094. For consistency it'd be good to merge this one as well. That being said, I'm not planning any security releases just for this change as http.server is not fit for production use.

ned-deily merged commit 8a34afd into python:3.7 Jun 22, 2022
miss-islington deleted the backport-4abab6b-3.7 branch June 22, 2022 22:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

5 participants


Back | FazBrowse Home | New Git URL