
Cloud Vulnerability DB
A community-led vulnerabilities database
A security vulnerability (CVE-2022-0391) was discovered in Python's urllib.parse module, which helps break Uniform Resource Locator (URL) strings into components. The vulnerability was disclosed on February 9, 2022, affecting Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11, and 3.6.14. The issue involves the urlparse method's failure to sanitize input, specifically allowing characters like '\r' and '\n' in the URL path (Ubuntu CVE, Debian Tracker).
The vulnerability exists in the urllib.parse module's handling of URL parsing. The core issue lies in the urlparse method's inability to properly sanitize input containing ASCII newline ('\r', '\n') and tab characters in URL paths. According to the WHATWG URL specification, these characters should be stripped from the input during URL parsing. The vulnerability received a CVSS 3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (Ubuntu CVE).
The vulnerability allows attackers to input crafted URLs that could lead to injection attacks. The successful exploitation of this vulnerability could result in the addition or modification of data. The CVSS scoring indicates that while there is no impact on confidentiality or availability, there is a high impact on integrity (NetApp Advisory).
The vulnerability has been fixed in Python versions 3.10.0b1, 3.9.5, 3.8.11, 3.7.11, and 3.6.14. Various Linux distributions and software vendors have released patches for their affected products. For example, Debian has fixed this in version 2.7.16-2+deb10u3 for Python 2.7, and Ubuntu has provided fixes across multiple Python versions (Debian LTS, Ubuntu CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."