{"id":"CVE-2022-36087","published":"2022-09-09T00:00:00Z","modified":"2025-04-22T17:22:22Z","title":"OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI","vendor":"oauthlib","product":"oauthlib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01784,"percentile":0.78847,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7","tags":[]},{"url":"https://github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd","tags":[]},{"url":"https://github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py","tags":[]},{"url":"https://github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L232","tags":[]},{"url":"https://github.com/oauthlib/oauthlib/releases/tag/v3.2.1","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI/","tags":["vendor-advisory"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":15.77},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"oauthlib","affectedVersions":[{"vendor":"oauthlib","product":"oauthlib","versions":[">= 3.1.1, < 3.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:44:27.698522Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"oauthlib","vulnerableRanges":[">=3.1.1, <3.2.2",">=3.1.1, <3.2.1"],"patched":["3.2.2","3.2.1"],"from":["GHSA-3pgj-pg6c-r5p7","PYSEC-2022-269"],"provenance":"source"}],"summary":{"text":"The OAuthLib Python library (product oauthlib, which also contains the uri_validate function used in its OAuth2.0 provider support) fails to properly validate redirect URIs, specifically those containing malicious IPv6 addresses, due to improper input validation. An attacker with low privileges and network access can supply a crafted redirect URI, and user interaction is required, to cause a denial of service in applications that use the OAuth2.0 provider support or call uri_validate directly.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:32Z"},"euvd":{"id":"EUVD-2022-0170","exploited":false,"provenance":"source"}}