{"id":"PSF-2022-5","summary":"http.server: Open Redirection if the URL path starts with //","details":"Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states \"Warning: http.server is not recommended for production. It only implements basic security checks.\"","aliases":["BIT-libpython-2021-28861","BIT-python-2021-28861","BIT-python-min-2021-28861","CVE-2021-28861"],"modified":"2026-05-18T05:47:05.522440141Z","published":"2022-08-23T00:00:00Z","database_specific":{"cwe_ids":[]},"references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2021-28861"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/87389"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"4dc2cae3abd75f386374d0635d00443b897d0672"},{"fixed":"5715382d3a89ca118ce2e224d8c69550d21fe51b"},{"fixed":"8a34afd55258c721e446d6de4a70353c39a24148"},{"fixed":"defaa2b19a9a01c79c1d5641a8aa179bb10ead3f"},{"fixed":"e2e8847bf52f4a81490653c6d13b7e3821b2c2be"}]}],"versions":["v3.10.5","v3.11.0b3","v3.11.0b2","v3.9.13","v3.11.0b1","v3.11.0a7","v3.10.4","v3.9.12","v3.7.13","v3.9.11","v3.10.3","v3.8.13","v3.11.0a6","v3.11.0a5","v3.11.0a4","v3.10.2","v3.11.0a3","v3.10.1","v3.9.9","v3.9.8","v3.10.0rc2","v3.7.12","v3.9.7","v3.8.12","v3.10.0rc1","v3.10.0b4","v3.7.11","v3.8.11","v3.9.6","v3.10.0b3","v3.10.0b2","v3.10.0b1","v3.9.5","v3.10.0a7","v3.9.2","v3.8.8","v3.9.2rc1","v3.8.8rc1","v3.7.10","v3.10.0a1","v3.7.9","v3.9.0b5","v3.8.5","v3.7.8","v3.7.8rc1","v3.9.0b3","v3.9.0b1","v3.8.3","v3.8.3rc1","v3.7.7rc1","v3.9.0a2","v3.7.6rc1","v3.8.0rc1","v3.7.3rc1","v3.7.2rc1","v3.7.0rc1","v3.7.0b5","v3.7.0b4","v3.7.0b3","v3.7.0b2","v3.7.0b1","v3.7.0a2","v3.6.0b1","v3.6.0a3","v3.5.0b1","v3.5.0a4","v3.5.0a3","v3.5.0a2","v3.5.0a1","v3.4.0b3","v3.4.0b2","v3.4.0b1","v3.4.0a4","v3.4.0a3","v3.4.0a2","v3.4.0a1","v3.3.0rc3","v3.3.0rc2","v3.3.0rc1","v3.3.0b2","v3.3.0b1","v3.3.0a4","v3.3.0a3","v3.3.0a2","v3.2rc3","v3.2rc2","v3.2rc1","v3.2b2","v3.2b1","v3.2a4","v3.2a3","v3.2a2","v3.2a1","v3.1","v3.1rc2","v3.1rc1","v3.1b1","v3.1a2","v3.1a1","v3.0rc3","v3.0rc2","v3.0rc1","v3.0b3","v3.0b2","v3.0b1","v3.0a5","v3.0a4","v3.0a3","v3.0a2","v3.0a1","v2.4","v2.4c1","v2.4b2","v2.4b1","v2.4a3","v2.4a2","v2.4a1","v2.3c2","v2.3c1","v2.2a3","v2.1","v2.1c2","v2.1c1","v2.1b2","v2.1b1","v2.1a2","v2.1a1","v2.0","v2.0c1","v2.0b2","v2.0b1","v1.6a2","v1.6a1","v1.5.2","v1.5.2c1","v1.5.2b2","v1.5.2b1","v1.5.2a2","v1.5.2a1","v1.5.1","v1.5","v1.5b2","v1.5b1","v1.5a4","v1.5a3","v1.5a2","v1.5a1","v1.4","v1.4b3","v1.4b2","v1.4b1","v1.3","v1.3b1","v1.2","v1.2b4","v1.2b3","v1.2b2","v1.2b1","v1.1.1","v1.1","v1.0.2","v1.0.1","v0.9.9","v0.9.8"],"database_specific":{"source":"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2022-5.json"}}],"schema_version":"1.7.5"}