CVE-2022-0391
HIGH7.5EPSS 1.2%python3.9 - security update
Published: 2/9/2022Modified: 5/11/2026
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.0, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.
Affected packages (7)
- Bitnami/libpythonfrom 0, < 3.6.14, >= 3.7.0, < 3.7.11, >= 3.8.0, < 3.8.11, >= 3.9.0, < 3.9.5
- Bitnami/pythonfrom 0, < 3.6.14, >= 3.7.0, < 3.7.11, >= 3.8.0, < 3.8.11, >= 3.9.0, < 3.9.5
- Bitnami/python-minfrom 0, < 3.6.14, >= 3.7.0, < 3.7.11, >= 3.8.0, < 3.8.11, >= 3.9.0, < 3.9.5
- Debian/pypy3from 0, < 7.3.5+dfsg-2+deb11u4
- Debian/python2.7from 0, < 2.7.18-8+deb11u1
- Debian/python3.9from 0, < 3.9.2-1+deb11u3
- Debian/python3.9from 0, < 3.9.2-1+deb11u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (11)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-0391
- WEBhttps://bugs.python.org/issue43882
- WEBhttps://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/11/msg00024.html
- WEBhttps://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSD2YBXP3ZF44E44QMIIAR5VTO35KTRB/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDBDBAU6HUPZHISBOARTXZ5GKHF2VH5U/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-0391
- WEBhttps://security.gentoo.org/glsa/202305-02
- WEBhttps://security.netapp.com/advisory/ntap-20220225-0009/
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html