Skip to content
OpenAdvisories
Medium · 5.7 CVE-2022-36087 EUVD-2022-0170GHSA-3pgj-pg6c-r5p7PYSEC-2022-269

OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI

Published Sep 9, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
oauthlib oauthlib >= 3.1.1, < 3.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-oauthlib 3.2.1-1 —
Debian 13 python-oauthlib 3.2.1-1 —
Debian 12 python-oauthlib 3.2.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python-oauthlib 3.2.0-1ubuntu0.1 USN-5632-1
ReleasePackageFixed inAdvisory
RHEL 9 fence-virt +55 4.10.0-43.el9 RHSA-2023:2161

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 fence-virt +54 4.10.0-43.el9 ALSA-2023:2161
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-oauthlib 3.2.2-5.4 openSUSE-SU-2025:15100-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 fence-virt +12 4.10.0-43.el9 ELSA-2023-2161

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI oauthlib >= 3.1.1, < 3.2.2 3.2.2 GHSA-3pgj-pg6c-r5p7
PyPI oauthlib >= 3.1.1, < 3.2.1 3.2.1 PYSEC-2022-269

Advisories 8

References