CVE-2021-28861

HIGH CVSS 3.1: 7.4 EPSS 2.84%
Updated Oct 14, 2026
Python
Parameter Value
CVSS 7.4 (HIGH)
Affected Versions 3.0.0 — 3.9.14
Fixed In 3.7.14
Type CWE-601 (Open Redirect)
Vendor Python
Public PoC No

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."

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 17

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.0.0 3.7.14
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.8.0 3.8.14
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.9.0 3.9.14
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.10.0 3.10.6
Python Python
cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
— —

References 21

https://bugs.python.org/issue43223
NVD
https://github.com/python/cpython/pull/93879
NVD
https://github.com/python/cpython/pull/24848
NVD
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-f511f8f58b
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-7fff0f2b0b
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-a27e239f5a
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-a2be4bd5d8
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-15f1aa7dc7
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-fde69532df
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-61d8e8d880
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-4ac2e16969
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-2173709172
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-01d5789c08
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-d1682fef04
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-79843dfb3c
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-20116fb6aa
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-7ca361a226
https://security.gentoo.org/glsa/202305-02
GLSA-202305-02
https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html
af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
af854a3a-2127-422b-91ae-364da2661108
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e