CVE-2020-8492
Description
Python 2.7 through 2.7.17, 3.5 through 3.5.9, 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1 allows an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking.
Severity
MEDIUM
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
6.617%
chance of exploitation in the next 30 days
higher than 94% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-400: Uncontrolled Resource Consumption
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-10-07 |
Timeline
- 2020-01-30Published by the CNA00:00 UTC
- 2026-10-07CISA SSVC decision recorded2442 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| python python | from 2.7.0 through 2.7.17no fix listedfrom 3.5.0 through 3.5.9no fix listedfrom 3.6.0 through 3.6.10no fix listedfrom 3.7.0 through 3.7.6no fix listedfrom 3.8.0 through 3.8.1no fix listed | not listednot listednot listednot listednot listed |
| canonical ubuntu_linux | 12.04no fix listed14.04no fix listed16.04no fix listed18.04no fix listed19.10no fix listed(+1 more) | not listednot listednot listednot listednot listed |
| debian debian_linux | 9.0no fix listed | not listed |
| fedoraproject fedora | 31no fix listed32no fix listed | not listednot listed |
| opensuse leap | 15.1no fix listed | not listed |
References
- https://github.com/python/cpython/pull/18284
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00003.html
- https://bugs.python.org/issue39503
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WOKDEXLYW5UQ4S7PA7E37IITOC7C56J/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5NSAX4SC3V64PGZUPH7PRDLSON34Q5A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APGWEMYZIY5VHLCSZ3HD67PA5Z2UQFGH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UESGYI5XDAHJBATEZN3MHNDUBDH47AS6/
- https://security.gentoo.org/glsa/202005-09
- https://usn.ubuntu.com/4333-1/
- https://usn.ubuntu.com/4333-2/
- https://python-security.readthedocs.io/vuln/urllib-basic-auth-regex.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://lists.apache.org/thread.html/rdb31a608dd6758c6093fd645aea3fbf022dd25b37109b6aaea5bc0b5%40%3Ccommits.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/rfec113c733162b39633fd86a2d0f34bf42ac35f711b3ec1835c774da%40%3Ccommits.cassandra.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- https://security.netapp.com/advisory/ntap-20200221-0001/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-8492'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-8492'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-8492'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-8492'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).