CVE-2022-0391

HIGHCVSS 7.5/10EPSS 8.33%

Last modified

CVE-2022-0391 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. EPSS estimates a 8.33% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
8.33%

94.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
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.0Alpha1
NetappActive Iq Unified ManagerAll versions
NetappHciAll versions
NetappManagement Services For Element SoftwareAll versions
NetappOntap Select Deploy Administration UtilityAll versions
NetappSolidfire\, Enterprise Sds \& Hci Storage NodeAll versions
NetappHci Compute NodeAll versions
FedoraprojectFedora34
FedoraprojectFedora35
OracleHttp Server12.2.1.3.0
OracleHttp Server12.2.1.4.0
OracleZfs Storage Appliance Kit8.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-0391?
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.
How severe is CVE-2022-0391?
CVE-2022-0391 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 8.33% probability of exploitation in the next 30 days.
How do I fix CVE-2022-0391?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-0391?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST