Skip to content
Heist/ feed
Back to feed
MediumFix available

python-urllib3 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-28363

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.

Products
python-urllib3
Affected versions
Not specified
Fixed versions
1.26.4-1
CVEs
CVE-2021-28363
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:35 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-28363

core-osv · Original source

Published 15 Mar 2021, 18:15 UTC

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.

osv:DEBIAN-CVE-2021-28363

python-urllib3

Fixed versions: 1.26.4-1

python-urllib3

Fixed versions: 1.26.4-1

python-urllib3

Fixed versions: 1.26.4-1

Complete source record
{
  "id": "a4254ea40918aea037533e2f1b69ea238fcf6cdcb545f53f7559efd4834e931f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-28363",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-28363",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-28363",
    "products": [
      {
        "name": {
          "value": "python-urllib3",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.4-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-urllib3",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.4-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-urllib3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.4-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-28363",
      "aliases": [
        "DEBIAN-CVE-2021-28363"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-urllib3",
            "purl": "pkg:deb/debian/python-urllib3?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28363.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-urllib3",
            "purl": "pkg:deb/debian/python-urllib3?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28363.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-urllib3",
            "purl": "pkg:deb/debian/python-urllib3?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28363.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:33.633200761Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-28363"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-28363"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-28363",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327704,
  "published_at": "2021-03-15T18:15:19.017+00:00"
}