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.
Published: 2022-02-09
Score: 7.5 High
EPSS: 1.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3575-1 python2.7 security update
Debian DLA Debian DLA DLA-3966-1 pypy3 security update
Debian DLA Debian DLA DLA-4087-1 python3.9 security update
EUVD 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 Ubuntu USN USN-5342-1 Python vulnerabilities
Ubuntu USN Ubuntu USN USN-5342-2 Python vulnerabilities
Ubuntu USN Ubuntu USN USN-6891-1 Python vulnerabilities
History

Fri, 19 Dec 2025 00:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 0.00632}

epss

{'score': 0.0065}


Subscriptions

Fedoraproject Fedora
Netapp Active Iq Unified Manager Hci Hci Compute Node Management Services For Element Software Ontap Select Deploy Administration Utility Solidfire\, Enterprise Sds \& Hci Storage Node
Oracle Http Server Zfs Storage Appliance Kit
Python Python
Redhat Enterprise Linux Rhel Software Collections
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-12-17T20:58:43.991Z

Reserved: 2022-01-27T00:00:00.000Z

Link: CVE-2022-0391

cve-icon Vulnrichment

Updated: 2025-11-03T21:45:36.139Z

cve-icon NVD

Status : Modified

Published: 2022-02-09T23:15:16.580

Modified: 2025-12-17T21:15:52.823

Link: CVE-2022-0391

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-04-18T00:00:00Z

Links: CVE-2022-0391 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses