CVE-2020-8492

NameCVE-2020-8492
DescriptionPython 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2280-1
NVD severityhigh
Debian Bugs970099

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)stretch2.7.13-2+deb9u3vulnerable
stretch (security)2.7.13-2+deb9u5vulnerable
buster2.7.16-2+deb10u1vulnerable
bullseye2.7.18-8fixed
bookworm, sid2.7.18-9fixed
python3.5 (PTS)stretch3.5.3-1+deb9u1vulnerable
stretch (security)3.5.3-1+deb9u4fixed
python3.7 (PTS)buster3.7.3-2+deb10u3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7source(unstable)2.7.18-2low970099
python3.4source(unstable)(unfixed)
python3.5sourcestretch3.5.3-1+deb9u2DLA-2280-1
python3.5source(unstable)(unfixed)
python3.7sourcebuster3.7.3-2+deb10u2
python3.7source(unstable)(unfixed)
python3.8source(unstable)3.8.3~rc1-1

Notes

[jessie] - python3.4 <postponed> (Minor issue)
[buster] - python2.7 <no-dsa> (Minor issue)
[stretch] - python2.7 <no-dsa> (Minor issue)
[jessie] - python2.7 <no-dsa> (Minor issue)
https://bugs.python.org/issue39503
https://github.com/python/cpython/pull/18284
https://python-security.readthedocs.io/vuln/urllib-basic-auth-regex.html
https://github.com/python/cpython/commit/0b297d4ff1c0e4480ad33acae793fbaf4bf015b4 (master)
https://github.com/python/cpython/commit/ea9e240aa02372440be8024acb110371f69c9d41 (3.8-branch)
https://github.com/python/cpython/commit/b57a73694e26e8b2391731b5ee0b1be59437388e (3.7-branch)
https://github.com/python/cpython/commit/69cdeeb93e0830004a495ed854022425b93b3f3e (3.6-branch)

Search for package or bug name: Reporting problems