Skip to content
Heist/ feed
Back to feed
Medium

OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI

Type: advisorySources: OSV

OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. In OAuthLib versions 3.1.1 until 3.2.1, an attacker providing malicious redirect uri can cause denial of service. An attacker can also leverage usage of `uri_validate` functions depending where it is used. OAuthLib applications using OAuth2.0 provider support or use directly `uri_validate` are affected by this issue. Version 3.2.1 contains a patch. There are no known workarounds.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-36087
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:18 UTC · Revision 1

Source evidence

OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI

core-osv · Original source

Published 9 Sept 2022, 00:00 UTC

OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. In OAuthLib versions 3.1.1 until 3.2.1, an attacker providing malicious redirect uri can cause denial of service. An attacker can also leverage usage of `uri_validate` functions depending where it is used. OAuthLib applications using OAuth2.0 provider support or use directly `uri_validate` are affected by this issue. Version 3.2.1 contains a patch. There are no known workarounds.

osv:CVE-2022-36087
Complete source record
{
  "id": "c4d4a9e4b3c33ab75f6a3a8783f4a8763a461fbd2e565f9af19a5de22909be6b",
  "url": "https://osv.dev/vulnerability/CVE-2022-36087",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI",
    "summary": "OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. In OAuthLib versions 3.1.1 until 3.2.1, an attacker providing malicious redirect uri can cause denial of service. An attacker can also leverage usage of `uri_validate` functions depending where it is used. OAuthLib applications using OAuth2.0 provider support or use directly `uri_validate` are affected by this issue. Version 3.2.1 contains a patch. There are no known workarounds.",
    "evidence": "osv:CVE-2022-36087",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-36087",
      "aliases": [
        "CVE-2022-36087",
        "GHSA-3pgj-pg6c-r5p7",
        "PYSEC-2022-269"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/oauthlib/oauthlib",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c6037ce5b36145de22df45abe0e96abfa95873ae"
                },
                {
                  "fixed": "88bb1562930a9bd9368bf26120655794d90d9585"
                },
                {
                  "fixed": "2e40b412c844ecc4673c3fa3f72181f228bdbacd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:oauthlib_project:oauthlib:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.1"
                      },
                      {
                        "fixed": "3.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2e40b412c844ecc4673c3fa3f72181f228bdbacd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "88bb1562930a9bd9368bf26120655794d90d9585"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.2.1"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36087.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.480522543Z",
      "provider": "osv",
      "references": [
        "https://github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py",
        "https://github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L232",
        "https://github.com/oauthlib/oauthlib/releases/tag/v3.2.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36087.json",
        "https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-36087",
        "https://github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36087.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-36087",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493718,
  "published_at": "2022-09-09T00:00:00+00:00"
}