mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-87389: Fix an open redirection vulnerability in http.server. (#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].
This commit is contained in:
parent
0709586744
commit
4abab6b603
3 changed files with 61 additions and 2 deletions
|
|
@ -0,0 +1,3 @@
|
|||
:mod:`http.server`: Fix an open redirection vulnerability in the HTTP server
|
||||
when an URI path starts with ``//``. Vulnerability discovered, and initial
|
||||
fix proposed, by Hamza Avvan.
|
||||
Loading…
Add table
Add a link
Reference in a new issue