{"id":"CVE-2022-0391","aliases":["CVE-2022-0391","PSF-2022-8","BIT-LIBPYTHON-2022-0391","BIT-PYTHON-2022-0391","BIT-PYTHON-MIN-2022-0391"],"related":[],"kind":"vulnerability","state":"published","title":"urllib.parse should sanitize urls containing ASCII newline and tabs.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado un fallo en Python, concretamente en el módulo urllib.parse. Este módulo ayuda a dividir las cadenas de localizadores de recursos uniformes (URL) en componentes. El problema involucra como el método urlparse no sanea la entrada y permite caracteres como \"\\r\" y \"\\n\" en la ruta de la URL. Este fallo permite a un atacante introducir una URL diseñada, conllevando a ataques de inyección. Este fallo afecta a Python versiones anteriores a 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 y 3.6.14","source":"nvd"},{"lang":"en","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.0, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.","format":"markdown","source":"bitnami"}],"published":"2022-02-09T00:00:00.000Z","modified":"2026-10-14T13:17:13.947Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14","status":"affected"}],"product":"python","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"491fde0161d5e527eeff8586dd3972d7d3a631a7"},{"type":"git","status":"affected","fixed":"515a7bc4e13645d0945b46a8e1d9102b918cd407"},{"type":"git","status":"affected","fixed":"6c472d3a1d334d4eeb4a25eba7bf3b01611bf667"},{"type":"git","status":"affected","fixed":"76cd81d60310d65d01f9d7b48a8985d8ab89c8b4"},{"type":"git","status":"affected","fixed":"f4dac7ec55477a6c5d965e594e74bd6bda786903"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.6.14"},{"status":"affected","introduced":"3.7.0","fixed":"3.7.11"},{"status":"affected","introduced":"3.8.0","fixed":"3.8.11"},{"status":"affected","introduced":"3.9.0","fixed":"3.9.5"},{"status":"affected","version":"3.10.0"},{"status":"affected","version":"3.10.0"},{"status":"affected","version":"3.10.0"},{"status":"affected","version":"3.10.0"},{"status":"affected","version":"3.10.0"},{"status":"affected","version":"3.10.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vsphere:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"hci","cpe":"cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"management_services_for_element_software","cpe":"cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"ontap_select_deploy_administration_utility","cpe":"cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"solidfire,_enterprise_sds_&_hci_storage_node","cpe":"cpe:2.3:a:netapp:solidfire\\,_enterprise_sds_\\&_hci_storage_node:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"hci_compute_node","cpe":"cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"http_server","cpe":"cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.8"}],"vendor":"oracle","product":"zfs_storage_appliance_kit","cpe":"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.14"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.11"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.11"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.5"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.14"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.11"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.11"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.5"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.14"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.11"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.11"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.5"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://bugs.python.org/issue43882","tags":["advisory","exploit","issue-tracking","patch","report","vendor-advisory","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDBDBAU6HUPZHISBOARTXZ5GKHF2VH5U/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSD2YBXP3ZF44E44QMIIAR5VTO35KTRB/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["advisory","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20220225-0009/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202305-02","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2047376","tags":["advisory"],"sources":["psf"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0391","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-17T20:58:36.919Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0391","url":"https://www.cve.org/CVERecord?id=CVE-2022-0391","licence":"CVE Terms of Use","modified":"2026-10-14T12:12:30.872Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2022-8","url":"https://osv.dev/vulnerability/PSF-2022-8","licence":"CC-BY-4.0","modified":"2025-10-09T01:01:59.899Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0391","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0391","licence":"Public domain","modified":"2026-10-14T13:17:13.947Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2022-0391","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2022-0391","licence":"Apache-2.0","modified":"2026-09-08T08:48:08.723Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2022-0391","url":"https://osv.dev/vulnerability/BIT-PYTHON-2022-0391","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.902Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2022-0391","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2022-0391","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.671Z"}],"updatedAt":"2026-11-25T22:58:09.596Z","epss":{"score":0.08543,"percentile":0.9517,"date":"2026-12-01T12:00:22.000Z"}}