Open Redirect in Python
CVE-2021-28861
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."
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.028, 86.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 3.11.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, Meettp/ctf-logs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.python.org/issue43223 (Issue Tracking, Vendor Advisory)
- github.com/python/cpython/pull/93879 (Patch, Third Party Advisory)
- github.com/python/cpython/pull/24848 (Patch, Third Party Advisory)
- FEDORA-2022-f511f8f58b (vendor-advisory)
- FEDORA-2022-7fff0f2b0b (vendor-advisory)
- FEDORA-2022-a27e239f5a (vendor-advisory)
- FEDORA-2022-a2be4bd5d8 (vendor-advisory)
- FEDORA-2022-15f1aa7dc7 (vendor-advisory)
- FEDORA-2022-fde69532df (vendor-advisory)
- FEDORA-2022-61d8e8d880 (vendor-advisory)