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
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3575-1 | python2.7 security update |
Debian DLA |
DLA-3966-1 | pypy3 security update |
Debian DLA |
DLA-4087-1 | python3.9 security update |
EUVD |
EUVD-2022-15539 | 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. |
Ubuntu USN |
USN-5342-1 | Python vulnerabilities |
Ubuntu USN |
USN-5342-2 | Python vulnerabilities |
Ubuntu USN |
USN-6891-1 | Python vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 03 Nov 2025 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Mon, 03 Nov 2025 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Wed, 16 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2025-11-03T21:45:36.139Z
Reserved: 2022-01-27T00:00:00.000Z
Link: CVE-2022-0391
No data.
Status : Modified
Published: 2022-02-09T23:15:16.580
Modified: 2025-11-03T22:15:54.307
Link: CVE-2022-0391
OpenCVE Enrichment
No data.
Debian DLA
EUVD
Ubuntu USN