CVE-2021-28861Python
High 7.4 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- 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."
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | ≥ 3.0.0 < 3.7.14 |
| python | python | ≥ 3.8.0 < 3.8.14 |
| python | python | ≥ 3.9.0 < 3.9.14 |
| python | python | ≥ 3.10.0 < 3.10.6 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| python | python | 3.11.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org Issue Tracking Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- lists.debian.org
- lists.debian.org
- cert-portal.siemens.com