Skip to main content
← All vulnerabilities
CVE-2022-0391BIT-LIBPYTHON-2022-0391BIT-PYTHON-2022-0391BIT-PYTHON-MIN-2022-0391PSF-2022-8

A flaw was found in Python, specifically within the urllib.parse module.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.14, 3.7.11, 3.8.11, 3.9.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a python

    python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14

  • libpythonBitnami

    fixed in 3.6.14; From 3.7.0 · fixed in 3.7.11; From 3.8.0 · fixed in 3.8.11; From 3.9.0 · fixed in 3.9.5

  • pythonBitnami

    fixed in 3.6.14; From 3.7.0 · fixed in 3.7.11; From 3.8.0 · fixed in 3.8.11; From 3.9.0 · fixed in 3.9.5

  • python-minBitnami

    fixed in 3.6.14; From 3.7.0 · fixed in 3.7.11; From 3.8.0 · fixed in 3.8.11; From 3.9.0 · fixed in 3.9.5

References 7

bugs.python.org

lists.fedoraproject.org

oracle.com

security.netapp.com

security.gentoo.org

lists.debian.org