CVE-2022-0391 - CVE House
Back to Database
Status published Unknown CVE-2022-0391

A flaw was found in Python, specifically within the urllib.parse...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-0391

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

python
Vulnerable Versions:
python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14

Timeline

Official Publish: February 9th, 2022
Last Modified: December 17th, 2025
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)