CVE-2022-0391Python
High 7.5 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.9% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Feb 9, 2022
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | < 3.6.14 |
| python | python | ≥ 3.7.0 < 3.7.11 |
| python | python | ≥ 3.8.0 < 3.8.11 |
| python | python | ≥ 3.9.0 < 3.9.5 |
| python | python | 3.10.0 |
| python | python | 3.10.0 |
| python | python | 3.10.0 |
| python | python | 3.10.0 |
| python | python | 3.10.0 |
| python | python | 3.10.0 |
| netapp | active_iq_unified_manager | all |
| netapp | hci | all |
| netapp | management_services_for_element_software | all |
| netapp | ontap_select_deploy_administration_utility | all |
| netapp | solidfire,_enterprise_sds_&_hci_storage_node | all |
| netapp | hci_compute_node | all |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| oracle | http_server | 12.2.1.3.0 |
| oracle | http_server | 12.2.1.4.0 |
| oracle | zfs_storage_appliance_kit | 8.8 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org Exploit Issue Tracking Patch
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- lists.debian.org
- lists.debian.org
- cert-portal.siemens.com