Original description
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."
Affected software
- Python ≥ 3.10.0 < 3.10.6= 3.11.0≥ 3.0.0 < 3.7.14≥ 3.8.0 < 3.8.14≥ 3.9.0 < 3.9.14 Fixed in: 3.10.6, 3.7.14, 3.8.14, 3.9.14 exact match
Details
- Published
- 2022-08-23
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- EPSS (30-day exploit probability)
- 2.84% (percentile 87)
References
- cve.org/CVE-2021-28861
- nvd.nist.gov/vuln/detail/CVE-2021-28861
- bugs.python.org/issue43223
- github.com/python/cpython/pull/93879
- github.com/python/cpython/pull/24848
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.