# CVE-2022-36087: OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-09-09 · Modified: 2025-04-22
- Aliases: GHSA-3pgj-pg6c-r5p7, PYSEC-2022-269, RHSA-2023:2161, UBUNTU-CVE-2022-36087, USN-5632-1, DEBIAN-CVE-2022-36087, openSUSE-SU-2025:15100-1
- Record: https://cvemate.com/vulnerability/CVE-2022-36087 · JSON: https://cvemate.com/vulnerability/CVE-2022-36087/json

## 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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.837%, percentile 79.68%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 75)

- debian python-oauthlib (Debian): \< 3.2.1-1
- ubuntu python-oauthlib (Ubuntu): \< 3.2.0-1ubuntu0.1
- fedoraproject fedora: 37
- oauthlib\_project oauthlib: ≥ 3.1.1, \< 3.2.1
- oauthlib oauthlib: ≥ 3.1.1, \< 3.2.1
- PyPI oauthlib (PyPI): ≥ 3.1.1, \< 3.2.2 \| \< 2e40b412c844ecc4673c3fa3f72181f228bdbacd \| ≥ 3.1.1, \< 3.2.1
- opensuse python-oauthlib&distro=openSUSE Tumbleweed (openSUSE): \< 3.2.2-5.4
- redhat fence-agents (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-aliyun (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-all (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-amt-ws (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-apc (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-apc-snmp (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-aws (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-azure-arm (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-bladecenter (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-brocade (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-cisco-mds (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-cisco-ucs (Red Hat): \< 0:4.10.0-43.el9
- redhat fence-agents-common (Red Hat): \< 0:4.10.0-43.el9

## References (first 20 of 36)

- <https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7>
- <https://github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd>
- <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://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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36087>
- <https://github.com/oauthlib/oauthlib>
- <https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2022-269.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S>
- <https://access.redhat.com/errata/RHSA-2023:2161>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.2_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2111998>

---

Data as of 2026-12-05T08:33:16.160Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
