Live threats

All CVEs / Oauthlib Project

CVE-2022-36087Oauthlib Project Oauthlib

Medium 6.5 No auth needed

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
Weakness (CWE)
CWE-20, CWE-601
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Oauthlib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
oauthlib_projectoauthlib≥ 3.1.1 < 3.2.1
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.