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?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-28848Mintty before 3.4.5 allows remote servers to cause a denial …7.5
- CVE-2021-28855In Deark before 1.5.8, a specially crafted input file can ca…5.5
- CVE-2021-28856In Deark before v1.5.8, a specially crafted input file can c…5.5
- CVE-2021-28857TP-Link's TL-WPA4220 4.0.2 Build 20180308 Rel.37064 username…7.5
- CVE-2021-28858TP-Link's TL-WPA4220 4.0.2 Build 20180308 Rel.37064 does not…5.5
- CVE-2021-28860In Node.js mixme, prior to v0.5.1, an attacker can add or al…9.1
- CVE-2021-28874SerenityOS fixed as of c9f25bca048443e317f1994ba9b106f238668…7.8
- CVE-2021-28875In the standard library in Rust before 1.50.0, read_to_end()…7.5
- CVE-2021-28876In the standard library in Rust before 1.52.0, the Zip imple…5.3
- CVE-2021-28877In the standard library in Rust before 1.51.0, the Zip imple…7.5
- CVE-2021-28878In the standard library in Rust before 1.52.0, the Zip imple…7.5
- CVE-2021-28879In the standard library in Rust before 1.52.0, the Zip imple…9.8
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
