DEBIAN-CVE-2022-0391

Advisory lineage Upstream: 1 Downstream: 3
Published: 09 Feb 2022, 23:15
Last modified:28 Apr 2026, 20:23

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
3.1 (osv_debian)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

09 Feb 2022, 23:15
Published
Vulnerability first disclosed
28 Apr 2026, 20:23
Last Modified
Vulnerability information updated

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.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected Systems

  • debianpypy3

    < 7.3.5+dfsg-2+deb11u4 | < 7.3.6+dfsg-1 | < 7.3.6+dfsg-1 | < 7.3.6+dfsg-1

  • debianpython2.7

    < 2.7.18-8+deb11u1

  • debianpython3.9

    < 3.9.2-1+deb11u3

References (1)