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.
Conclusion & alert: CVE-2022-0391 is rated High Exploit Risk (72.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.21%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-01 | 1.32% | 1.21% | -0.11% |
| 2 | 2026-03-04 | 1.92% | 1.32% | -0.59% |
| 3 | 2026-03-01 | — | 1.92% | — |
Full EPSS history (30 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-0391 not yet assigned priority: Debian including 3 source packages (pypy3, python2.7, python3.9), 7 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 7. | https://security-tracker.debian.org/tracker/CVE-2022-0391 |
gentoo
|
high | CVE-2022-0391: 1 GLSA(s) (202305-02), 2 atom(s) (dev-lang/python, dev-python/pypy3); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-0391 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-0391 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2022-0391/ |
ubuntu
|
medium | CVE-2022-0391 medium priority: Ubuntu including 8 source packages (python2.7, python3.10, …), 112 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 83, released 13, needs-triage 7, ignored 4, not-affected 4, needed 1. | https://ubuntu.com/security/CVE-2022-0391 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| python | python | < 3.6.14 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.7.0, < 3.7.11 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.8.0, < 3.8.11 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.9.0, < 3.9.5 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:alpha1:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:alpha2:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:alpha3:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:alpha4:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:alpha5:*:*:*:*:*:* |
| python | python | 3.10.0 | cpe:2.3:a:python:python:3.10.0:alpha6:*:*:*:*:*:* |
| netapp | active_iq_unified_manager | — | cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vsphere:*:* |
| netapp | hci | — | cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:* |
| netapp | management_services_for_element_software | — | cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* |
| netapp | ontap_select_deploy_administration_utility | — | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |
| netapp | solidfire\,_enterprise_sds_\&_hci_storage_node | — | cpe:2.3:a:netapp:solidfire\,_enterprise_sds_\&_hci_storage_node:-:*:*:*:*:*:*:* |
| netapp | hci_compute_node | — | cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| oracle | http_server | 12.2.1.3.0 | cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:* |
| oracle | http_server | 12.2.1.4.0 | cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:* |
| oracle | zfs_storage_appliance_kit | 8.8 | cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* |