cpython/Lib/urllib
Victor Stinner 37fe316479
bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (#19305)
The AbstractBasicAuthHandler class of the urllib.request module uses
an inefficient regular expression which can be exploited by an
attacker to cause a denial of service. Fix the regex to prevent the
catastrophic backtracking. Vulnerability reported by Ben Caller
and Matt Schwager.

AbstractBasicAuthHandler of urllib.request now parses all
WWW-Authenticate HTTP headers and accepts multiple challenges per
header: use the realm of the first Basic challenge.
2020-06-19 23:26:58 -07:00
..
__init__.py
error.py [3.5] Remove superfluous comment in urllib.error. (GH-1076) (GH-1102) 2017-04-12 20:46:07 -07:00
parse.py bpo-36742: Corrects fix to handle decomposition in usernames (GH-13812) (GH-13814) (#14772) 2019-09-07 07:33:24 +01:00
request.py bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (#19305) 2020-06-19 23:26:58 -07:00
response.py
robotparser.py Fix typos in comments, documentation and test method names 2016-05-08 13:48:10 +00:00