Skip to content
OpenAdvisories
Medium ALAS2-2021-1667 2 CVEs

Moderate: python-pip security update (Amazon Linux 2)

Published Jun 16, 2021 · Updated Aug 7, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-3572: 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. The highest threat from this vulnerability is to data integrity. CVE-2021-28363: A flaw was found in python-urllib3. SSL certificate validation is omitted 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.

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2 python-pip-wheel 0:20.2.2-1.amzn2.0.3
Amazon Linux · 2 python2-pip 0:20.2.2-1.amzn2.0.3
Amazon Linux · 2 python3-pip 0:20.2.2-1.amzn2.0.3

Vulnerabilities 2

  • Medium 6.5

    Using default SSLContext for HTTPS requests in an HTTPS proxy doesn't verify certificate hostname for proxy connection

    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 c…

  • Medium 5.7
    CVE-2021-3572 Public exploit

    Improper Input Validation in pip

    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. The highest threat from this vulnerability is to data integrity. This i…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-28363.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3572.html