Mageia 2021-0371: python-pip security update
Summary
A flaw was found in python-pip in the way it handled Unicode separators in git
references. A remote attacker could possibly use this issue to install a
different revision on a repository (CVE-2021-3572).
The bundled python-urllib3 was also vulnerable to:
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=29010
- https://bugs.mageia.org/show_bug.cgi?id=29041
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/3L3JUBMPJJ7WYXI6JHX6KKYPPX676PR6/
- https://lists.suse.com/pipermail/sle-security-updates/2021-July/009129.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3572
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28363
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33503
Resolution
MGASA-2021-0371 - Updated python-pip packages fix security vulnerabilities
SRPMS
- 8/core/python-pip-20.3.3-3.3.mga8