Live threats

All CVEs / Python

CVE-2022-0391Python

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython< 3.6.14
pythonpython≥ 3.7.0 < 3.7.11
pythonpython≥ 3.8.0 < 3.8.11
pythonpython≥ 3.9.0 < 3.9.5
pythonpython3.10.0
pythonpython3.10.0
pythonpython3.10.0
pythonpython3.10.0
pythonpython3.10.0
pythonpython3.10.0
netappactive_iq_unified_managerall
netapphciall
netappmanagement_services_for_element_softwareall
netappontap_select_deploy_administration_utilityall
netappsolidfire,_enterprise_sds_&_hci_storage_nodeall
netapphci_compute_nodeall
fedoraprojectfedora34
fedoraprojectfedora35
oraclehttp_server12.2.1.3.0
oraclehttp_server12.2.1.4.0
oraclezfs_storage_appliance_kit8.8

Official sources

References

Links published by the sources. Open them with care.