CVE-2022-36087Oauthlib Project Oauthlib
Medium 6.5 No auth needed
Follow: this CVE · Oauthlib Project · Oauthlib Project Oauthlib We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Sep 9, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Oauthlib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | oauthlib |
≥ 3.1.1 < 3.2.2 |
3.2.2 |
pip install "oauthlib>=3.2.2" |
| PyPI | oauthlib |
≥ 3.1.1 < 3.2.1 |
3.2.1 |
pip install "oauthlib>=3.2.1" |
Per OSV / GitHub Advisories (GHSA-3pgj-pg6c-r5p7, PYSEC-2022-269). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oauthlib_project | oauthlib | ≥ 3.1.1 < 3.2.1 |
| fedoraproject | fedora | 37 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Mitigation Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org