1. Home
  2. Vulnerabilities
  3. CVE-2022-0391

CVE-2022-0391

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform…

Published 9 Feb 2022 · modified 14 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 61/100

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.

Affected products and versions

Fedoraproject (2 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 34 — NVD
Fedora 35 — NVD
Netapp (6 line(s))
Netapp
ProductVersionsFixed inSource
Active iq unified manager Versions not specified — NVD
Hci Versions not specified — NVD
Hci compute node Versions not specified — NVD
Management services for element software Versions not specified — NVD
Ontap select deploy administration utility Versions not specified — NVD
Solidfire, enterprise sds & hci storage node Versions not specified — NVD
Oracle (3 line(s))
Oracle
ProductVersionsFixed inSource
Http server 12.2.1.3.0 — NVD
Http server 12.2.1.4.0 — NVD
Zfs storage appliance kit 8.8 — NVD
Python (5 line(s))
Python
ProductVersionsFixed inSource
Python before 3.6.14 (excluded) — NVD
Python from 3.7.0 (included) to 3.7.11 (excluded) — NVD
Python from 3.8.0 (included) to 3.8.11 (excluded) — NVD
Python from 3.9.0 (included) to 3.9.5 (excluded) — NVD
Python 3.10.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1, NVD)
Weakness
CWE-74 · Autre (CWE-74)

How this data is obtained and calculated