Service hang via catastrophic IPv6 regex backtracking
Published Sep 9, 2022 · Updated Apr 22, 2025
Input validation in OAuthLib 3.1.1 through 3.2.0 allows remote authenticated users to hang OAuth web applications via an IPv6 redirect URI. The IPv6address pattern in oauthlib.uri_validate nests unbounded repetitions, causing excessive regex backtracking on colon-heavy input passed to is_absolute_uri. Exposure requires an OAuth2 provider or other caller to pass a user-controlled URI into these validators, and the resulting impact is limited to service availability.
Summary
What happened
Input validation in OAuthLib 3.1.1 through 3.2.0 allows remote authenticated users to hang OAuth web applications via an IPv6 redirect URI. The IPv6address pattern in oauthlib.uri_validate nests unbounded repetitions, causing excessive regex backtracking on colon-heavy input passed to is_absolute_uri. Exposure requires an OAuth2 provider or other caller to pass a user-controlled URI into these validators, and the resulting impact is limited to service availability.
The record
- CVE
- CVE-2022-36087
- Published
- Sep 9, 2022
- Updated
- Apr 22, 2025
- Vendor
- OAuthLib
- Product
- OAuthLib
- Classifications
- CWE-20, CWE-601, T1499.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 9, 2022CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 3.1.1, < 3.2.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Malicious IPv6 URI is_absolute_uri proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo