{"id":"CVE-2022-0391","published":"2022-02-09T00:00:00Z","modified":"2026-10-14T12:12:30Z","title":"A flaw was found in Python, specifically within the urllib.parse module","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.08543,"percentile":0.95186,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://bugs.python.org/issue43882","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDBDBAU6HUPZHISBOARTXZ5GKHF2VH5U/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSD2YBXP3ZF44E44QMIIAR5VTO35KTRB/","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220225-0009/","tags":[]},{"url":"https://security.gentoo.org/glsa/202305-02","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.04},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"python","versions":["python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-17T20:58:36.919543Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A flaw in Python's urllib.parse module, which splits URL strings into components, lets the urlparse method accept unsanitised characters such as carriage returns and newlines in the URL path. An attacker who can supply a crafted URL over the network, with no authentication or user interaction required, can inject characters that downstream components may interpret, enabling injection attacks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:02:58Z"},"euvd":{"id":"EUVD-2022-15539","exploited":false,"provenance":"source"}}