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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.68% (81st 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-1677936
  • published27 Sept 2021
  • disclosed18 Apr 2019

Introduced: 18 Apr 2019

CVE-2019-11324  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3-pip to version 0:9.0.3-1.amzn2.0.2 or higher.
This issue was patched in ALAS2-2020-1389.

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 before 1.24.2 for Python mishandles certain cases where the desired set of CA certificates is different from the OS store of CA certificates, which results in SSL connections succeeding in situations where a verification failure is the correct outcome. This is related to use of the ssl_context, ca_certs, or ca_certs_dir argument.