HIGH SEVERITY

CVE-2022-0391

Python vulnerability

CVSS
7.5
EPSS
8.3%
EPSS pct
94th
Exploited
No known
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 vendor
Python
Affected product
Python
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness type (CWE)
Published
2022-02-09

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to integrity.

Its EPSS score of 8.3% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 94% of all scored CVEs.

Check your external exposure to CVE-2022-0391

  • Confirm whether Python Python is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2022-0391.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2022-0391

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2022-0391 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2022-0391?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2022-0391.

Start free scan

No credit card. Agentless.