What’s Vulnerable › Vulnerabilities
CVE-2022-0391
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 8.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-09 · updated 2026-10-14
- Weakness: CWE-74
Description
A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.
Affected products
- Fedoraproject Fedora: 34, 35
- Active IQ Unified Manager for VMware vSphere, Linux, and Microsoft Windows: all versions
- NetApp Hci: all versions
- NetApp Hci Compute Node: all versions
- NetApp Management Services For Element Software: all versions
- NetApp ONTAP Select Deploy administration utility: all versions
- NetApp Solidfire, Enterprise Sds & Hci Storage Node: all versions
- Oracle Corporation Oracle HTTP Server: 12.2.1.3.0, 12.2.1.4.0
- Oracle Corporation Oracle ZFS Storage Appliance Kit: 8.8
- Python: before 3.6.14; from 3.7.0 before 3.7.11; from 3.8.0 before 3.8.11; from 3.9.0 before 3.9.5; 3.10.0-alpha1, 3.10.0-alpha2, 3.10.0-alpha3, 3.10.0-alpha4, 3.10.0-alpha5, 3.10.0-alpha6 — fixed in 3.6.14, 3.7.11, 3.8.11, 3.9.5
How to fix
Upgrade to a fixed version: Python 3.6.14, 3.7.11, 3.8.11, 3.9.5. Check the vendor advisory for mitigations.
References
- https://bugs.python.org/issue43882
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSD2YBXP3ZF44E44QMIIAR5VTO35KTRB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDBDBAU6HUPZHISBOARTXZ5GKHF2VH5U/
- https://security.gentoo.org/glsa/202305-02
- https://security.netapp.com/advisory/ntap-20220225-0009/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://bugs.python.org/issue43882
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSD2YBXP3ZF44E44QMIIAR5VTO35KTRB/
Get alerted when CVE-2022-0391 or the next vulnerability affects your stack