CVE-2022-36087 json
OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI
published 4y ago modified 4mo 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
Is CVE-2022-36087 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift4/ztp-site-generate-rhel8 Red Hat Quay 3 quay/quay-rhel8affected: 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 morefixed: 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_clientnot 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
- last yr.
Exploit prediction
1.78% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
References
-
github.com
/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd
web, patch, third-party-advisory
-
github.com
/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7
web, exploit, mitigation, third-party-advisory, advisory
-
github.com
/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py
web, exploit, third-party-advisory
-
github.com
/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L
web, exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI/
vendor-advisory
-
github.com
/oauthlib/oauthlib/releases/tag/v3.2.1
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36087
advisory
-
github.com
/oauthlib/oauthlib
package
-
github.com
/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2022-269.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S
web
Sources
- CVE List CVE-2022-36087
- GitHub Advisory GHSA-3pgj-pg6c-r5p7
- NVD CVE-2022-36087
- OSV PYSEC-2022-269
Fencer Intel 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.