CVE-2021-28861
Last modified
CVE-2021-28861 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 1.99% chance of exploitation in the next 30 days.
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."
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| 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 | Alpha1 |
| Fedoraproject | Fedora | 35 | — |
| Fedoraproject | Fedora | 36 | — |
| Fedoraproject | Fedora | 37 | — |
References
- https://bugs.python.org/issue43223Issue Tracking, Vendor Advisory
- https://github.com/python/cpython/pull/24848Patch, Third Party Advisory
- https://github.com/python/cpython/pull/93879Patch, Third Party Advisory
- https://bugs.python.org/issue43223Issue Tracking, Vendor Advisory
- https://github.com/python/cpython/pull/24848Patch, Third Party Advisory
- https://github.com/python/cpython/pull/93879Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28861?
How severe is CVE-2021-28861?
How do I fix CVE-2021-28861?
Are you affected by CVE-2021-28861?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
