Live threats

All CVEs / Python

CVE-2021-28861Python

High 7.4 No auth needed

Priority
60
CVSS 3.1
7.4
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Aug 23, 2022
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 3.0.0 < 3.7.14
pythonpython≥ 3.8.0 < 3.8.14
pythonpython≥ 3.9.0 < 3.9.14
pythonpython≥ 3.10.0 < 3.10.6
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
pythonpython3.11.0
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.