原始描述
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.
受影响的软件
- Python < 3.6.14≥ 3.7.0 < 3.7.11= 3.10.0≥ 3.9.0 < 3.9.5≥ 3.8.0 < 3.8.11 修复版本: 3.6.14, 3.7.11, 3.9.5, 3.8.11 精确匹配
详情
- 发布日期
- 2022-02-09
- 最后修改
- 2026-10-14
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- CWE
- CWE-74
- EPSS(30 天内被利用概率)
- 8.54% (百分位 95)
参考资料
- cve.org/CVE-2022-0391
- nvd.nist.gov/vuln/detail/CVE-2022-0391
- bugs.python.org/issue43882
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C...
- www.oracle.com/security-alerts/cpuapr2022.html
- security.netapp.com/advisory/ntap-20220225-0009/
- security.gentoo.org/glsa/202305-02
- lists.debian.org/debian-lts-announce/2023/09/msg00022.html
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。