CVE-2022-36087: URL Redirection to Untrusted Site ('Open Redirect')
(updated )
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.
References
- github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py
- github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py
- github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd
- github.com/oauthlib/oauthlib/releases/tag/v3.2.1
- github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7
- nvd.nist.gov/vuln/detail/CVE-2022-36087
Detect and mitigate CVE-2022-36087 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →