CVE-2022-0391
At a glance Severity HIGH 7.5 EPSS EPSS 8.54 % · percentile 95 (2026-10-27) State PUBLISHED Published 2022-02-09 Updated 2026-10-14 Assigner redhat NVD status Modified
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.
Scores Version Score Vector Scored by CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CISA-ADP CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N NVD · nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:a:python:python:*:*:*:*:*:*:*:* < 3.6.14cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.7.0 < 3.7.11cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.8.0 < 3.8.11cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.9.0 < 3.9.5cpe:2.3:a:python:python:3.10.0:alpha1:*:*:*:*:*:*cpe:2.3:a:python:python:3.10.0:alpha2:*:*:*:*:*:*cpe:2.3:a:python:python:3.10.0:alpha3:*:*:*:*:*:*cpe:2.3:a:python:python:3.10.0:alpha4:*:*:*:*:*:*cpe:2.3:a:python:python:3.10.0:alpha5:*:*:*:*:*:*cpe:2.3:a:python:python:3.10.0:alpha6:*:*:*:*:*:*cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vsphere:*:*cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:*cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*cpe:2.3:a:netapp:solidfire\,_enterprise_sds_\&_hci_storage_node:-:*:*:*:*:*:*:*cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
Affected products Product Versions python affected python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14
References
Sources