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

{'score': 0.00632}

epss

{'score': 0.0065}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-02-09T00:00:00.000Z

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

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

Link: CVE-2022-0391

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2025-11-03T22:15:54.307

Link: CVE-2022-0391

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2022-0391 - Bugzilla