cve.bz

CVE-2020-8492 Uncontrolled Resource Consumption

6.5 mediumExploit referenceEPSS 6.6%Fix available

Medium (6.5). EPSS 6.6% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
6.6% (unchanged from 6.6% a week ago; 6.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8492?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonfrom 2.7.0 through 2.7.17
python:pythonfrom 3.5.0 through 3.5.9
python:pythonfrom 3.6.0 through 3.6.10
python:pythonfrom 3.7.0 through 3.7.6
python:pythonfrom 3.8.0 through 3.8.1
opensuse:leap15.1
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10
canonical:ubuntu_linux20.04
fedoraproject:fedora31
fedoraproject:fedora32
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9python3.53.5.3-1+deb9u2DLA-2280-1
Debian10python2.72.7.16-2+deb10u2DLA-3432-1
Debian11python2.72.7.18-2DEBIAN-CVE-2020-8492
Ubuntu16.04:LTSpython2.72.7.12-1ubuntu0~16.04.11UBUNTU-CVE-2020-8492 USN-4333-1
Ubuntu16.04:LTSpython3.53.5.2-2ubuntu0~16.04.10UBUNTU-CVE-2020-8492 USN-4333-1
Ubuntu18.04:LTSpython2.72.7.17-1~18.04ubuntu1UBUNTU-CVE-2020-8492 USN-4333-1
Ubuntu18.04:LTSpython3.63.6.9-1~18.04ubuntu1UBUNTU-CVE-2020-8492 USN-4333-1
Ubuntu18.04:LTSpython3.73.7.5-2ubuntu1~18.04.2UBUNTU-CVE-2020-8492 USN-4754-3 USN-5200-1
Ubuntu18.04:LTSpython3.83.8.0-3ubuntu1~18.04.2UBUNTU-CVE-2020-8492 USN-4754-3 USN-5200-1
Ubuntu20.04:LTSpython2.72.7.18-1~20.04.1UBUNTU-CVE-2020-8492 USN-4754-3
Ubuntu20.04:LTSpython3.83.8.2-1ubuntu1.1UBUNTU-CVE-2020-8492 USN-4333-2 USN-6891-1
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.4USN-6891-1
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm5UBUNTU-CVE-2020-8492 USN-4333-1
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm6UBUNTU-CVE-2020-8492 USN-4333-1
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm1UBUNTU-CVE-2020-8492 USN-6891-1
6 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepython3, python3-idle, python3-libs and 5 more0:3.6.8-17.el7RHSA-2020:3888
Red Hatenterprise_linux:8::appstreamCython, python38-Cython, Cython-debugsource and 1 more0:0.29.14-4.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreamPyYAML, python38-pyyaml, PyYAML-debugsource and 1 more0:5.3.1-1.module+el8.3.0+7187+a27ec44bRHSA-2020:4641
Red Hatenterprise_linux:8::appstreambabel, python38-babel0:2.7.0-10.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreammod_wsgi, python38-mod_wsgi0:4.6.8-3.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreamnumpy, python38-numpy, numpy-debugsource and 3 more0:1.17.3-5.module+el8.3.0+7187+a27ec44bRHSA-2020:4641
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python38-PyMySQL0:0.9.3-3.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreampython-asn1crypto, python38-asn1crypto0:1.2.0-3.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreampython-cffi, python38-cffi, python-cffi-debugsource and 1 more0:1.13.2-3.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreampython-chardet, python38-chardet0:3.0.4-19.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreampython-cryptography, python38-cryptography, python-cryptography-debugsource and 1 more0:2.8-3.module+el8.2.0+5234+f98739b6RHSA-2020:4641
Red Hatenterprise_linux:8::appstreampython-idna, python38-idna0:2.8-6.module+el8.2.0+5234+f98739b6RHSA-2020:4641
25 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12 and 17 morepython3, python3-base3.4.10-25.45.1SUSE-SU-2020:0854-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP1-LTSS and 16 morepython-rpm-macros20200207.5feb6c1-3.19.1SUSE-SU-2020:1524-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP1-LTSS and 14 morepython, python-doc, python-base2.7.17-28.42.1SUSE-SU-2020:1524-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP1-LTSS and 14 moreshared-python-startup0.1-1.3.1SUSE-SU-2020:1524-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 3 morepython3, python3-core3.6.12-3.67.2SUSE-SU-2020:3930-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP3 and 1 morepython3, python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
SUSELinux Enterprise Module for Basesystem 15 SP1python3, python3-base3.6.10-3.47.2SUSE-SU-2020:0467-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python, python-base2.7.17-7.35.1SUSE-SU-2020:0510-1
SUSELinux Enterprise Module for Desktop Applications 15 SP1python2.7.17-7.35.1SUSE-SU-2020:0510-1
SUSELinux Enterprise Module for Development Tools 15 SP1python3-base3.6.10-3.47.2SUSE-SU-2020:0467-1
SUSELinux Enterprise Module for Development Tools 15 SP1, Linux Enterprise Module for Development Tools 15 SP2python3-core3.6.12-3.67.2SUSE-SU-2020:3930-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
7 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1python3, python3-base3.6.10-lp151.6.11.1openSUSE-SU-2020:0274-1
openSUSELeap 15.1python3, python3-core, python3-documentation3.6.12-lp151.6.32.1openSUSE-SU-2020:2333-1
openSUSELeap 15.2python3, python3-core, python3-documentation3.6.12-lp152.4.14.1openSUSE-SU-2020:2332-1
openSUSELeap 15.3, Leap 15.4python3-documentation3.6.15-150300.10.37.1SUSE-SU-2022:4281-1
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2 and 1 morepython3, python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
openSUSETumbleweedpython2.7.18-8.1openSUSE-SU-2024:11202-1
openSUSETumbleweedpython3103.10.0rc1-4.2openSUSE-SU-2024:11283-1
openSUSETumbleweedpython3113.11.0b1-1.1openSUSE-SU-2024:12089-1
openSUSETumbleweedpython3123.12.0a7-1.1openSUSE-SU-2024:12910-1
openSUSETumbleweedpython3133.13.0~b3-1.1openSUSE-SU-2024:14109-1
openSUSETumbleweedpython3143.14.0~a1-1.1openSUSE-SU-2024:14434-1
openSUSETumbleweedpython3153.15.0~a1-1.1openSUSE-SU-2025:15713-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8python38-Cython0.29.14-4.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-asn1crypto1.2.0-3.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-cffi1.13.2-3.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-chardet3.0.4-19.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-cryptography2.8-3.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-idna2.8-6.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-markupsafe1.1.1-6.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-mod_wsgi4.6.8-3.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-psycopg2, python38-psycopg2-doc, python38-psycopg2-tests2.8.4-4.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-pycparser2.19-3.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-pysocks1.7.1-4.module_el8.6.0+2778+cd494b30ALSA-2020:4641
AlmaLinux8python38-pytz2019.3-3.module_el8.6.0+2778+cd494b30ALSA-2020:4641
2 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.29.14-4.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8PyYAML0:5.3.1-1.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8babel0:2.7.0-10.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8mod_wsgi0:4.6.8-3.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8numpy0:1.17.3-5.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8python-asn1crypto0:1.2.0-3.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8python-cffi0:1.13.2-3.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8python-chardet0:3.0.4-19.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8python-cryptography0:2.8-3.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8python-cryptography0:2.8-3.module+el8.5.0+672+ab6eb015RLSA-2020:4641
Rocky Linux8python-idna0:2.8-6.module+el8.4.0+570+c2eaf144RLSA-2020:4641
Rocky Linux8python-jinja20:2.10.3-4.module+el8.4.0+570+c2eaf144RLSA-2020:4641
14 more for Rocky Linux in the JSON.
Alpinev3.10python33.7.7-r0ALPINE-CVE-2020-8492
Alpinev3.11, v3.12, v3.13 and 11 morepython33.8.2-r0ALPINE-CVE-2020-8492

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Applications that use AbstractBasicAuthHandler, HTTPBasicAuthHandler and ProxyBasicAuthHandler may be affected by this flaw. Other classes may use the vulnerable method http_error_auth_reqed in AbstractBasicAuthHandler as well.

Versions of python36:3.6/python36 as shipped with Red Hat Enterprise Linux 8 are marked as notaffected as they just provide "symlinks" to the main python3 component, which provides the actual interpreter of the Python programming language.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python3-0:3.6.8-17.el7Fixed 2020-09-29RHSA-2020:3888
Red Hat Enterprise Linux 8python3-0:3.6.8-31.el8Fixed 2020-11-04RHSA-2020:4433
Red Hat Enterprise Linux 8python38:3.8-8030020200818121840.4190259bFixed 2020-11-04RHSA-2020:4641
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-0:3.6.12-1.el6Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-pip-0:9.0.1-5.el6Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-virtualenv-0:15.1.0-3.el6Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-0:3.6.12-1.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-pip-0:9.0.1-5.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-virtualenv-0:15.1.0-3.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-python36-python-0:3.6.12-1.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-python36-python-pip-0:9.0.1-5.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-python36-python-virtualenv-0:15.1.0-3.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-python36-python-0:3.6.12-1.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Enterprise Linux 5pythonOut of support scope
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 7pythonWill not fix
Red Hat Enterprise Linux 8python27:2.7/python2Will not fix
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Software Collectionspython27-pythonWill not fix
Red Hat Software Collectionsrh-python38-pythonNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-8492.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON