Your submission was sent successfully! Close

CVE-2022-0391

Published: 9 February 2022

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.

Priority

Medium

CVSS 3 base score: 7.5

Status

Package Release Status
python2.7
Launchpad, Ubuntu, Debian
bionic
Released (2.7.17-1~18.04ubuntu1.7)
focal Needs triage

impish Needs triage

jammy Needs triage

trusty Needs triage

upstream Needs triage

xenial
Released (2.7.12-1ubuntu0~16.04.18+esm1)
python3.10
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Not vulnerable

jammy Not vulnerable

trusty Does not exist

upstream Needs triage

xenial Does not exist

python3.4
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty
Released (3.4.3-1ubuntu1~14.04.7+esm12)
upstream Needs triage

xenial Does not exist

python3.5
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Needs triage

upstream Needs triage

xenial
Released (3.5.2-2ubuntu0~16.04.13+esm2)
python3.6
Launchpad, Ubuntu, Debian
bionic
Released (3.6.9-1~18.04ubuntu1.7)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

python3.7
Launchpad, Ubuntu, Debian
bionic Needed

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

python3.8
Launchpad, Ubuntu, Debian
bionic Needed

focal
Released (3.8.10-0ubuntu1~20.04.4)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

python3.9
Launchpad, Ubuntu, Debian
focal Not vulnerable
(3.9.7-1)
impish Not vulnerable
(3.9.7-2build1)
jammy Does not exist

trusty Ignored
(out of standard support)
upstream
Released (3.9.7-1)
xenial Ignored
(out of standard support)

Notes

AuthorNote
leosilva
for python2.7 code affected, urlsplit is in Lib/urlparse.py.
according with Debian, the fix for python3.5 causes regressions.

References

Bugs