[3.9] gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879)#94093
Conversation
…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>
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
3 similar comments
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
@gpshead 3.9 won't automerge anymore either without RMs landing it. It is now also "such an old branch" 🥲 |
Sorry, something went wrong.
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
Fix an open redirection vulnerability in the
http.servermodule whenan URI path starts with
//that could produce a 301 Location headerwith 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