Improper Certificate Validation Affecting python2-urllib3 package, versions <1:1.24.3-2.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.21% (60th 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-RHEL7-PYTHON2URLLIB3-5277299
  • published1 Nov 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 RHEL:7 python2-urllib3 to version 1:1.24.3-2.el7 or higher.
This issue was patched in RHBA-2021:1147.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-urllib3 package and not the python2-urllib3 package as distributed by RHEL. See How to fix? for RHEL:7 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 Base Scores

version 3.1