Skip to content
Fencer Vulns
medium 5.7

CVE-2022-36087 json

OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI

published 2022-09-09 4 y ago modified 2026-06-17 4 mo ago also GHSA-3pgj-pg6c-r5p7 , PYSEC-2022-269 , EUVD-2022-0170

cvss
5.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

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.

Patch / fix

  • pypi oauthlib 3.2.1, 3.2.2
  • oauthlib_project oauthlib 3.2.1
  • python-oauthlib Debian 14, Debian 13, Debian 12 3.2.1-1

debian advisories DEBIAN-CVE-2022-36087

  • python-oauthlib Ubuntu 22.04 LTS 3.2.0-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2022-36087

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • fence-agents RHEL 9 4.10.0-43.el9
  • fence-virt RHEL 9 4.10.0-43.el9
  • fence-virtd RHEL 9 4.10.0-43.el9
  • fence-virtd-cpg RHEL 9 4.10.0-43.el9
  • fence-virtd-tcp RHEL 9 4.10.0-43.el9
  • fence-agents-all RHEL 9 4.10.0-43.el9
  • fence-agents-apc RHEL 9 4.10.0-43.el9
  • fence-agents-aws RHEL 9 4.10.0-43.el9

red hat advisories RHSA-2023:2161

  • python-oauthlib openSUSE Tumbleweed 3.2.2-5.4

opensuse advisories openSUSE-SU-2025:15100-1

  • fence-virt AlmaLinux 9 4.10.0-43.el9
  • fence-virtd AlmaLinux 9 4.10.0-43.el9
  • fence-virtd-cpg AlmaLinux 9 4.10.0-43.el9
  • fence-virtd-tcp AlmaLinux 9 4.10.0-43.el9
  • fence-agents-all AlmaLinux 9 4.10.0-43.el9
  • fence-agents-apc AlmaLinux 9 4.10.0-43.el9
  • fence-agents-aws AlmaLinux 9 4.10.0-43.el9
  • fence-agents-eps AlmaLinux 9 4.10.0-43.el9

almalinux advisories ALSA-2023:2161

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-36087 updated cvss 6.5

python-oauthlib: DoS when attacker provides malicious IPV6 URI

  • Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Ansible Automation Platform 2 automation-controller, ansible-automation-platform-24/ee-29-rhel8, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-24/ee-supported-rhel9, ansible-automation-platform-24/ansible-builder-rhel9, ansible-automation-platform-25/ee-cloud-services-rhel9, +1 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 openshift4/ztp-site-generate-rhel8 Red Hat Quay 3 quay/quay-rhel8
    affected: workaround, no fix available
  • Red Hat Enterprise Linux AppStream (v. 9) fence-virt 4.10.0-43.el9, fence-virtd 4.10.0-43.el9, fence-agents 4.10.0-43.el9, fence-virtd-cpg 4.10.0-43.el9, fence-virtd-tcp 4.10.0-43.el9, fence-agents-virsh 4.10.0-43.el9, +8 more Red Hat Enterprise Linux HighAvailability (v. 9) fence-agents-all 4.10.0-43.el9, fence-agents-apc 4.10.0-43.el9, fence-agents-aws 4.10.0-43.el9, fence-agents-eps 4.10.0-43.el9, fence-agents-gce 4.10.0-43.el9, fence-agents-rsa 4.10.0-43.el9, +36 more Red Hat Enterprise Linux ResilientStorage (v. 9) fence-agents-all 4.10.0-43.el9, fence-agents-apc 4.10.0-43.el9, fence-agents-aws 4.10.0-43.el9, fence-agents-eps 4.10.0-43.el9, fence-agents-gce 4.10.0-43.el9, fence-agents-rsa 4.10.0-43.el9, +36 more
    fixed: vendor fix RHSA-2023:2161
  • Red Hat OpenStack Platform 16.1 python3-mistral, openstack-mistral-all, openstack-mistral-api, openstack-mistral-common, openstack-mistral-engine, openstack-mistral-executor, +2 more Red Hat Satellite 6 ansiblerole-foreman_scap_client
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.78% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L232 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
GitHub 3.1 5.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi oauthlib
>=3.1.1, <3.2.2
>=3.1.1, <3.2.1
3.2.2
3.2.1

Affected products

  • oauthlib oauthlib

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-601 URL Redirection to Untrusted Site

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.