MGASA-2021-0377 - Updated python-urllib3 package fixes security vulnerabilities

Publication date: 27 Jul 2021
URL: https://advisories.mageia.org/MGASA-2021-0377.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2021-28363,
     CVE-2021-33503

The urllib3 library 1.26.x before 1.26.4 for Python omits SSL certificate
validation in some cases involving HTTPS to HTTPS proxies. The initial
connection to the HTTPS proxy (if an SSLContext isn't given via proxy_config)
doesn't verify the hostname of the certificate. This means certificates for
different servers that still validate properly with the default urllib3
SSLContext will be silently accepted (CVE-2021-28363).

An issue was discovered in urllib3 before 1.26.5. When provided with a URL
containing many @ characters in the authority component, the authority regular
expression exhibits catastrophic backtracking, causing a denial of service if
a URL were passed as a parameter or redirected to via an HTTP redirect
(CVE-2021-33503).

References:
- https://bugs.mageia.org/show_bug.cgi?id=29041
- https://github.com/urllib3/urllib3/releases/tag/1.26.3
- https://github.com/urllib3/urllib3/releases/tag/1.26.4
- https://github.com/urllib3/urllib3/releases/tag/1.26.5
- https://lists.opensuse.org/archives/list/[email protected]/thread/NYARUF6IH56FOIKBV7PTO7AXODL5GKNT/
- https://lists.fedoraproject.org/archives/list/[email protected]/thread/FMUGWEAUYGGHTPPXT6YBD53WYXQGVV73/
- https://lists.fedoraproject.org/archives/list/[email protected]/thread/JWEE334W43EIJUKSMQSEH6ML7VU57K5B/
- https://lists.fedoraproject.org/archives/list/[email protected]/thread/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28363
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33503

SRPMS:
- 8/core/python-urllib3-1.26.5-1.mga8