CVE-2022-36087
OAuthLib vulnerable to DoS when attacker provides malicious IPV6 URI
5.7
MEDIUM
CVSS 3.1
EPSS 0.37%
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.
How to fix CVE-2022-36087
To remediate CVE-2022-36087, upgrade the affected package to a fixed version below.
- —upgrade to 3.2.1-1 or later
- —upgrade to 3.2.2 or later
- —upgrade to 2e40b412c844ecc4673c3fa3f72181f228bdbacd or later
Is CVE-2022-36087 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.2.1-1
- >= 3.1.1, < 3.2.2
- from 0, < 2e40b412c844ecc4673c3fa3f72181f228bdbacd | >= 3.1.1, < 3.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |