cve.bz

CVE-2021-28363 Improper Certificate Validation

6.5 mediumEPSS 2.2%Fix available

Medium (6.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 1.26.4.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-28363 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28363?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28363?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28363 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-28363

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-28363](https://cve.bz/cve/badge/CVE-2021-28363.svg)](https://cve.bz/cve/CVE-2021-28363)

HTML:

<a href="https://cve.bz/cve/CVE-2021-28363"><img src="https://cve.bz/cve/badge/CVE-2021-28363.svg" alt="CVE-2021-28363"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3from 1.26.0 before 1.26.4
fedoraproject:fedora34
oracle:peoplesoft_enterprise_peopletools8.59

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5phf-pp7p-vc2rPyPIurllib3>=1.26.0 <1.26.41.26.4
PYSEC-2021-59PyPIurllib3>=1.26.0 <1.26.41.26.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-urllib31.26.4-1DEBIAN-CVE-2021-28363
Red Hatopenshift:3.11::el7python-urllib3, python2-urllib31:1.24.3-2.el7RHBA-2021:1147
Alpinev3.14, v3.15, v3.16 and 8 morepy3-urllib31.26.4-r0ALPINE-CVE-2021-28363

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

* Red Hat OpenShift Container Platform (OCP) 4 delivers the python-urllib3 package which includes a vulnerable version of urllib3 module, however from OCP 4.6 the python-urllib3 package is no longer shipped. OCP 4.5 is out of support scope for Moderate and Low impact vulnerabilities, hence is marked Out Of Support Scope.

* Red Hat CodeReady WorkSpaces 2 and Red Hat Gluster Storage 3 are not affected by this flaw because both the products does not ship a vulnerable version of urllib3.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11python-urllib3-1:1.24.3-2.el7Fixed 2021-04-21RHBA-2021:1147
Red Hat Enterprise Linux 6python-urllib3Not affected
Red Hat Enterprise Linux 7python-pipNot affected
Red Hat Enterprise Linux 7python-urllib3Not affected
Red Hat Enterprise Linux 8python27:2.7/python2-pipNot affected
Red Hat Enterprise Linux 8python27:2.7/python-urllib3Not affected
Red Hat Enterprise Linux 8python38:3.8/python3x-pipNot affected
Red Hat Enterprise Linux 8python38:3.8/python-urllib3Not affected
Red Hat Enterprise Linux 8python39:3.9/python-urllib3Not affected
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 8python-urllib3Not affected
Red Hat Enterprise Linux 9python-urllib3Not affected
Red Hat OpenShift Container Platform 4python-urllib3Out of support scope
Red Hat OpenStack Platform 10 (Newton)python-urllib3Not affected
Red Hat OpenStack Platform 13 (Queens)python-urllib3Not affected
Red Hat Quay 3quay/quay-rhel8Not affected
Red Hat Software Collectionspython27-python-pipNot affected
Red Hat Software Collectionsrh-mongodb36-python-urllib3Not affected
Red Hat Software Collectionsrh-python36-python-pipNot affected
Red Hat Software Collectionsrh-python38-python-pipNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28363.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON