cve.bz

CVE-2022-36087 Open Redirect

6.5 mediumExploit referenceEPSS 1.8%Fix available

Medium (6.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in oauthlib 3.2.1, 3.2.2.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
CWE-20 Improper Input Validation
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-36087 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-36087?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-36087?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-36087 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oauthlib_project:oauthlibfrom 3.1.1 before 3.2.1
fedoraproject:fedora37

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3pgj-pg6c-r5p7PyPIoauthlib>=3.1.1 <3.2.23.2.2
PYSEC-2022-269PyPIoauthlib>=3.1.1 <3.2.13.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-oauthlib3.2.1-1DEBIAN-CVE-2022-36087
Ubuntu22.04:LTSpython-oauthlib3.2.0-1ubuntu0.1UBUNTU-CVE-2022-36087 USN-5632-1
Red Hatenterprise_linux:9::appstreamfence-virt, fence-virtd, fence-agents and 23 more0:4.10.0-43.el9RHSA-2023:2161
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragefence-agents-all, fence-agents-apc, fence-agents-aws and 51 more0:4.10.0-43.el9RHSA-2023:2161
openSUSETumbleweedpython-oauthlib3.2.2-5.4openSUSE-SU-2025:15100-1
AlmaLinux9fence-virt, fence-virtd, fence-virtd-cpg and 52 more4.10.0-43.el9ALSA-2023:2161

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

The redirect_uri can be verified in the web toolkit before OAuthLib is called. Check to see if `:` is present to reject the request can prevent the denial of service, assuming no port or IPv6 is fundamentally required.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9fence-agents-0:4.10.0-43.el9Fixed 2023-05-09RHSA-2023:2161
Red Hat Ansible Automation Platform 1.2ansible-towerWill not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ansible-builder-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-29-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/platform-resource-runner-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-cloud-services-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-supported-rhel9Will not fix
Red Hat Ansible Automation Platform 2automation-controllerWill not fix
Red Hat OpenShift Container Platform 4openshift4/ztp-site-generate-rhel8Affected
Red Hat OpenStack Platform 16.1openstack-mistralNot affected
Red Hat Quay 3quay/quay-rhel8Affected
Red Hat Satellite 6ansiblerole-foreman_scap_clientNot affected
Red Hat Satellite 6satellite-capsule:el8/ansiblerole-foreman_scap_clientNot affected
Red Hat Satellite 6satellite:el8/ansiblerole-foreman_scap_clientNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-36087.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON