Amazon Linux 2 Security Advisory: ALAS-2021-1667
Advisory Release Date: 2021-06-16 20:37 Pacific
Advisory Updated Date: 2021-06-22 22:40 Pacific
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)
Affected Packages:
python-pip
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update python-pip to update your system.
noarch:
python2-pip-20.2.2-1.amzn2.0.3.noarch
python3-pip-20.2.2-1.amzn2.0.3.noarch
python-pip-wheel-20.2.2-1.amzn2.0.3.noarch
src:
python-pip-20.2.2-1.amzn2.0.3.src