Improper Certificate Validation Affecting python3-pip package, versions <0:20.2.2-1.amzn2.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PYTHON3PIP-1700957
  • published27 Sept 2021
  • disclosed15 Mar 2021

Introduced: 15 Mar 2021

CVE-2021-28363  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3-pip to version 0:20.2.2-1.amzn2.0.3 or higher.
This issue was patched in ALAS2-2021-1667.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-pip package and not the python3-pip package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1