{"answers":{"affected":"3 open source packages ship an affected version, including oauthlib. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36087 exists.","fix":"Upgrade oauthlib to a fixed version for your release line: 3.2.1 or 3.2.2.","what":"CVE-2022-36087 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 9 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-36087 and fix it if it is affected.\n\nWhat it is: CVE-2022-36087 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 9 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36087 exists.\n\nAffected packages and fixed versions:\n- oauthlib (PyPI): affected from 3.1.1; fixed in 3.2.1\n- oauthlib (PyPI): affected from 3.1.1; fixed in 3.2.2\n- oauthlib (PyPI): affected from 3.1.1; fixed in 3.2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-36087/ (Markdown: https://insights.sbomify.com/CVE-2022-36087/index.md)","id":"CVE-2022-36087","markdown":"https://insights.sbomify.com/CVE-2022-36087/index.md","name":"CVE-2022-36087","record":{"aliases":["ALSA-2023:2161","DEBIAN-CVE-2022-36087","GHSA-3pgj-pg6c-r5p7","OESA-2022-1971","PYSEC-2022-269","RHSA-2023:2161","UBUNTU-CVE-2022-36087","USN-5632-1","openSUSE-SU-2024:12339-1","openSUSE-SU-2025:15100-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python OAuth library","requires_auth":"low_privilege","summary":"Attackers can cause denial of service in OAuthLib applications by providing malicious IPv6 URIs, affecting those using OAuth2.0 provider support or uri_validate.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"oauthlib","vendor":"oauthlib_project"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["AlmaLinux:9","PyPI","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::highavailability","Red Hat:enterprise_linux:9::resilientstorage","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI","id":"CVE-2022-36087","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"denial_of_service","year":"2022"},"n_packages":193,"n_references":9,"next":{"headline":"GoCD Windows installations outside default location inadequately restrict installation file permissions","id":"CVE-2022-36088"},"packages":[{"ecosystem":"PyPI","fixed":["3.2.1"],"introduced":["3.1.1"],"last_affected":[],"package":"oauthlib","purl":"pkg:pypi/oauthlib","source":"PYSEC-2022-269"},{"ecosystem":"PyPI","fixed":["3.2.2"],"introduced":["3.1.1"],"last_affected":[],"package":"oauthlib","purl":null,"source":"GHSA-3pgj-pg6c-r5p7"},{"ecosystem":"PyPI","fixed":["3.2.2"],"introduced":["3.1.1"],"last_affected":[],"package":"oauthlib","purl":"pkg:pypi/oauthlib","source":"GHSA-3pgj-pg6c-r5p7"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aliyun","purl":"pkg:rpm/almalinux/fence-agents-aliyun","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-all","purl":"pkg:rpm/almalinux/fence-agents-all","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-amt-ws","purl":"pkg:rpm/almalinux/fence-agents-amt-ws","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc","purl":"pkg:rpm/almalinux/fence-agents-apc","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc-snmp","purl":"pkg:rpm/almalinux/fence-agents-apc-snmp","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aws","purl":"pkg:rpm/almalinux/fence-agents-aws","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-azure-arm","purl":"pkg:rpm/almalinux/fence-agents-azure-arm","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-bladecenter","purl":"pkg:rpm/almalinux/fence-agents-bladecenter","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-brocade","purl":"pkg:rpm/almalinux/fence-agents-brocade","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-mds","purl":"pkg:rpm/almalinux/fence-agents-cisco-mds","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-ucs","purl":"pkg:rpm/almalinux/fence-agents-cisco-ucs","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-common","purl":"pkg:rpm/almalinux/fence-agents-common","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-compute","purl":"pkg:rpm/almalinux/fence-agents-compute","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-drac5","purl":"pkg:rpm/almalinux/fence-agents-drac5","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eaton-snmp","purl":"pkg:rpm/almalinux/fence-agents-eaton-snmp","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-emerson","purl":"pkg:rpm/almalinux/fence-agents-emerson","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eps","purl":"pkg:rpm/almalinux/fence-agents-eps","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-gce","purl":"pkg:rpm/almalinux/fence-agents-gce","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-heuristics-ping","purl":"pkg:rpm/almalinux/fence-agents-heuristics-ping","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-hpblade","purl":"pkg:rpm/almalinux/fence-agents-hpblade","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-powervs","purl":"pkg:rpm/almalinux/fence-agents-ibm-powervs","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-vpc","purl":"pkg:rpm/almalinux/fence-agents-ibm-vpc","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibmblade","purl":"pkg:rpm/almalinux/fence-agents-ibmblade","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ifmib","purl":"pkg:rpm/almalinux/fence-agents-ifmib","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-moonshot","purl":"pkg:rpm/almalinux/fence-agents-ilo-moonshot","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-mp","purl":"pkg:rpm/almalinux/fence-agents-ilo-mp","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-ssh","purl":"pkg:rpm/almalinux/fence-agents-ilo-ssh","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo2","purl":"pkg:rpm/almalinux/fence-agents-ilo2","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-intelmodular","purl":"pkg:rpm/almalinux/fence-agents-intelmodular","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipdu","purl":"pkg:rpm/almalinux/fence-agents-ipdu","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipmilan","purl":"pkg:rpm/almalinux/fence-agents-ipmilan","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kdump","purl":"pkg:rpm/almalinux/fence-agents-kdump","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kubevirt","purl":"pkg:rpm/almalinux/fence-agents-kubevirt","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-lpar","purl":"pkg:rpm/almalinux/fence-agents-lpar","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-mpath","purl":"pkg:rpm/almalinux/fence-agents-mpath","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-openstack","purl":"pkg:rpm/almalinux/fence-agents-openstack","source":"ALSA-2023:2161"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-43.el9"],"introduced":["0"],"last_affected":[],"package":"fence-agents-redfish","purl":"pkg:rpm/almalinux/fence-agents-redfish","source":"ALSA-2023:2161"}],"prev":{"headline":"linked_list_allocator vulnerable to out-of-bound writes on `Heap` initialization and `Heap::extend`","id":"CVE-2022-36086"},"products":["oauthlib"],"published":"2022-09-09","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["oauthlib"]},"summary":"Attackers can cause denial of service in OAuthLib applications by providing malicious IPv6 URIs, affecting those using OAuth2.0 provider support or uri_validate.","url":"https://insights.sbomify.com/CVE-2022-36087/"}