UBUNTU-CVE-2022-0391

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-0391

    UBUNTU-CVE-2022-0391

    Published: 9 Feb 2022Last Modified: 8 Sept 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: python2.7

    Purl: pkg:deb/ubuntu/python2.7?arch=source&distro=trusty%2Fesm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.7.6-8ubuntu0.6+esm12

    Affected versions

    2.7.5-8ubuntu3
    2.7.5-8ubuntu4
    2.7.6-2
    2.7.6-2ubuntu1
    2.7.6-3
    2.7.6-3ubuntu1
    2.7.6-4
    2.7.6-4ubuntu1
    2.7.6-5
    2.7.6-7
    2.7.6-8
    2.7.6-8ubuntu0.2
    2.7.6-8ubuntu0.3
    2.7.6-8ubuntu0.4
    2.7.6-8ubuntu0.5
    2.7.6-8ubuntu0.6+esm2
    2.7.6-8ubuntu0.6+esm3
    2.7.6-8ubuntu0.6+esm5
    2.7.6-8ubuntu0.6+esm6
    2.7.6-8ubuntu0.6+esm7
    2.7.6-8ubuntu0.6+esm8
    2.7.6-8ubuntu0.6+esm9
    2.7.6-8ubuntu0.6+esm10
    2.7.6-8ubuntu0.6+esm11

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-0391 | CVE-DB