CVE-2022-0391
- State
- Published
- Severity
- 7.5 High
- Published
- Feb 9, 2022
- Updated
- Oct 14, 2026
- Reserved
- Jan 27, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
pythonn/a |
|
References
- https://bugs.python.org/issue43882
- FEDORA-2022-ef99a016f6vendor-advisory
- FEDORA-2022-18ad73aba6vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220225-0009/
- GLSA-202305-02vendor-advisory
- [debian-lts-announce] 20230920 [SECURITY] [DLA 3575-1] python2.7 security updatemailing-list
- https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.