Skip to content
Snippets Groups Projects
Unverified Commit defaa2b1 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) (GH-94093)


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 4abab6b6)

Co-authored-by: default avatarGregory P. Smith <greg@krypto.org>
parent 893adbf0
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment