Skip to content

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

Merged
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-4abab6b-3.11
Jun 21, 2022
Merged

[3.11] gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879)#94091
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-4abab6b-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 21, 2022

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

Automerge-Triggered-By: GH:gpshead

…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>
@miss-islington
Copy link
Contributor Author

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

@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error type-security A security issue labels Jun 21, 2022
@miss-islington
Copy link
Contributor Author

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

@miss-islington miss-islington merged commit e2e8847 into python:3.11 Jun 21, 2022
@miss-islington miss-islington deleted the backport-4abab6b-3.11 branch June 21, 2022 21:29
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.

3 participants