---
title: "CVE-2022-36087\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-36087?format=md
keywords: index, follow
---

# CVE-2022-36087

Publication date 9 September 2022

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2022-36087?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-36087?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-oauthlib | 22.10 kinetic | Fixed 3.2.0-1ubuntu1 |
| 22.04 LTS jammy | Fixed 3.2.0-1ubuntu0.1 |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-36087?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

issue introduced in 3.1.1

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| python-oauthlib | * Upstream:   [5d85c61](https://github.com/oauthlib/oauthlib/commit/5d85c61998692643dd9d17e05d2646e06ce391e8) * Upstream:   [e514826](https://github.com/oauthlib/oauthlib/commit/e514826eea15f2b62bbc13da407b71552ef5ff4c) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36087)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-36087)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-36087)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-36087)

### Related Ubuntu Security Notices (USN)

+ [USN-5632-1](https://usn.ubuntu.com/USN-5632-1)
+ OAuthLib vulnerability
+ 22 September 2022

### Other references

* <https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7>
* <https://github.com/oauthlib/oauthlib/releases/tag/v3.2.1>
* <https://www.cve.org/CVERecord?id=CVE-2022-36087>
