Vulnerabilities

Vulnerability · CVE-2022-0391

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

Published Feb 9, 2022 · catalog updated Oct 14, 2026 · A flaw was found

Check if you run it

No confirmed exploitation is on record for CVE-2022-0391. EPSS is 8.54%. Act only if a listed version of A flaw was found is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (A flaw was found).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
8.54%
Remediation
Advisory link
Affected products
cpe fedoraproject/fedora · cpe netapp/active iq unified manager · cpe oracle/http server · cpe python/python

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe fedoraproject/fedora34
  • cpe netapp/active iq unified managerversion unspecified
  • cpe oracle/http server12.2.1.3.0
  • cpe python/python3.10.0

How to fix CVE-2022-0391

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2022-0391. EPSS is 8.54%. Act only if a listed version of A flaw was found is installed.

Which versions are affected?

Compare what you have installed with oracle/http server 12.2.1.3.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-74: Injection. EPSS 8.54%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 9, 2022 · NIST NVD

    Detected

    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

  2. Oct 14, 2026 · NIST NVD

    Updated

    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

Sources

  • CVE.orgVulnerability recordCVE-2022-0391

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2022-0391

    30-day exploitation probability 8.5%

    first.org
  • NIST NVDVulnerability recordCVE-2022-0391

    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. Th

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.