CVE-2022-0391
A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 13 days later
· 13 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 8.5% · top 4.9% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
python
- affected python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14
References (10)
- https://bugs.python.org/issue43882 (opens in a new tab)x_transferred
- FEDORA-2022-ef99a016f6 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-18ad73aba6 (opens in a new tab)vendor-advisoryx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20220225-0009/ (opens in a new tab)x_transferred
- GLSA-202305-02 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230920 [SECURITY] [DLA 3575-1] python2.7 security update (opens in a new tab)mailing-listx_transferred
- https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-0391)Record last updated .