CVEfocus › CVE database › CVE-2021-28363

CVE-2021-28363

CVSS 6.5 MediumEPSS 2.0% (higher than 82% of CVEs)Published 2021-03-15Updated 2026-10-14Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
21Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04python-pipNot affected
vulnerable_code_not_present
Ubuntu 16.04python-urllib3Not affected
vulnerable_code_not_present
Debian 14python-urllib3Fixed1.26.4-1DEBIAN-CVE-2021-28363
Debian 13python-urllib3Fixed1.26.4-1DEBIAN-CVE-2021-28363
Debian 12python-urllib3Fixed1.26.4-1DEBIAN-CVE-2021-28363
Red Hat Enterprise Linux 9python-urllib3Not affected
Red Hat Enterprise Linux 9python3-urllib3Not affected
Red Hat Enterprise Linux 8platform-python-pipNot affected
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 8python-urllib3Not affected
Red Hat Enterprise Linux 8python2-pipNot affected
Red Hat Enterprise Linux 8python2-pip-wheelNot affected
Red Hat Enterprise Linux 8python3-pipNot affected
Red Hat Enterprise Linux 8python3-pip-wheelNot affected
Red Hat Enterprise Linux 8python3-urllib3Not affected
Red Hat Enterprise Linux 8python38-pipNot affected
Red Hat Enterprise Linux 8python38-pip-wheelNot affected
Red Hat Enterprise Linux 8python39-pipNot affected
Red Hat Enterprise Linux 8python39-pip-wheelNot affected
Red Hat Enterprise Linux 8python3x-pipNot affected
Red Hat Enterprise Linux 7python-pipNot affected
Red Hat Enterprise Linux 7python-urllib3Not affected
Red Hat Enterprise Linux 7python3-pipNot affected
Red Hat Enterprise Linux 6python-urllib3Not affected
Alpine Linux 3.24py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.23py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.22py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.21py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.20py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.19py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.18py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.17py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.16py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.15py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
Alpine Linux 3.14py3-urllib3Fixed1.26.4-r0ALPINE-CVE-2021-28363
PyPI libraryurllib3Fixed1.26.4GHSA-5phf-pp7p-vc2r

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.