OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI
Published Sep 9, 2022
6.9
MEDIUMCVSS 4.0
EPSS 1.67%
Description
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.
Affected products
-
- Version >= 3.1.1, < 3.2.1StatusaffectedConstraints-
- Version
Configuration 1
- ≥ 3.1.1 · < 3.2.1
Configuration 2
- 37
No data.
Red Hat Enterprise Linux 9
fence-agents-0:4.10.0-43.el9
Fixed · RHSA-2023:2161
Red Hat Ansible Automation Platform 1.2
ansible-tower
Will not fix
Red Hat Ansible Automation Platform 2
ansible-automation-platform-24/ansible-builder-rhel9
Will not fix
Red Hat Ansible Automation Platform 2
ansible-automation-platform-24/ee-29-rhel8
Will not fix
Red Hat Ansible Automation Platform 2
ansible-automation-platform-24/ee-minimal-rhel9
Will not fix
Red Hat Ansible Automation Platform 2
ansible-automation-platform-25/ee-cloud-services-rhel9
Will not fix
Red Hat Ansible Automation Platform 2
ansible-automation-platform-25/ee-supported-rhel8
Will not fix
Red Hat Ansible Automation Platform 2
ansible-automation-platform-25/platform-resource-runner-rhel8
Will not fix
Red Hat Ansible Automation Platform 2
automation-controller
Will not fix
Red Hat OpenShift Container Platform 4
openshift4/ztp-site-generate-rhel8
Affected
Red Hat OpenStack Platform 16.1
openstack-mistral
Not affected
Red Hat Quay 3
quay/quay-rhel8
Affected
Red Hat Satellite 6
ansiblerole-foreman_scap_client
Not affected
Red Hat Satellite 6
satellite-capsule:el8/ansiblerole-foreman_scap_client
Not affected
Red Hat Satellite 6
satellite:el8/ansiblerole-foreman_scap_client
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | fence-agents-0:4.10.0-43.el9 | Fixed | RHSA-2023:2161 |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ansible-builder-rhel9 | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-29-rhel8 | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel9 | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-cloud-services-rhel9 | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel8 | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/platform-resource-runner-rhel8 | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | automation-controller | Will not fix | n/a |
| Red Hat OpenShift Container Platform 4 | openshift4/ztp-site-generate-rhel8 | Affected | n/a |
| Red Hat OpenStack Platform 16.1 | openstack-mistral | Not affected | n/a |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected | n/a |
| Red Hat Satellite 6 | ansiblerole-foreman_scap_client | Not affected | n/a |
| Red Hat Satellite 6 | satellite-capsule:el8/ansiblerole-foreman_scap_client | Not affected | n/a |
| Red Hat Satellite 6 | satellite:el8/ansiblerole-foreman_scap_client | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Apr 22, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.67% (0.01672) | 76.01th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.22% (0.01223) | 64.68th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.19% (0.00195) | 39.47th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.35% (0.00349) | 72.65th | v3 (v2023.03.01) |
| Apr 30, 2024 | 0.27% (0.00270) | 67.45th | v3 (v2023.03.01) |
| Apr 16, 2024 | 0.22% (0.00225) | 60.38th | v3 (v2023.03.01) |
| Apr 1, 2024 | 0.18% (0.00183) | 54.81th | v3 (v2023.03.01) |
| Feb 20, 2024 | 0.16% (0.00159) | 51.16th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.13% (0.00132) | 47.91th | v3 (v2023.03.01) |
| Oct 12, 2023 | 0.13% (0.00125) | 46.61th | v3 (v2023.03.01) |
| Sep 28, 2023 | 0.10% (0.00104) | 42.02th | v3 (v2023.03.01) |
| Sep 16, 2023 | 0.07% (0.00071) | 29.60th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00062) | 24.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Oct 7, 2022 | 1.11% (0.01108) | 53.72th | v2 (v2022.01.01) |
| Sep 15, 2022 | 1.02% (0.01018) | 38.92th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.95% (0.00950) | 30.63th | v2 (v2022.01.01) |
References (19)
- https://access.redhat.com/security/cve/CVE-2022-36087 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2128425 Issue Tracking
- https://github.com/advisories/GHSA-3pgj-pg6c-r5p7 Advisory
- https://github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py ExploitThird Party Advisory
- https://github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L232 ExploitThird Party Advisory
- https://github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd PatchThird Party Advisory
- https://github.com/oauthlib/oauthlib/releases/tag/v3.2.1 Third Party Advisory
- https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7 ExploitMitigationThird Party Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2022-269.yaml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S/ vendor-advisory
- 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://nvd.nist.gov/vuln/detail/CVE-2022-36087
- https://www.cve.org/CVERecord?id=CVE-2022-36087
Change history (0)
No recorded changes yet.