🛡️ CVE-2022-0391 on Debian — pypy3
Description
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.
Distribution advisory
This page covers CVE-2022-0391 as tracked by Debian, for the package pypy3. The fix is available in version 7.3.6+dfsg-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.
Weakness class
DEBIAN-CVE-2022-0391 is classified as CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or…
Affected software
DEBIAN-CVE-2022-0391 is recorded against 3 packages.
- pypy3 (fixed in 7.3.6+dfsg-1)
- python2.7 (fixed in 2.7.18-8+deb11u1)
- python3.9 (fixed in 3.9.2-1+deb11u3)
Timeline and source
Published on 9 February 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-0391 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pypy3 | — | 7.3.6+dfsg-1 |
| python2.7 | — | 2.7.18-8+deb11u1 |
| python3.9 | — | 3.9.2-1+deb11u3 |
References
Similar Threats
- Unknown DEBIAN-CVE-2024-11168
- Unknown DEBIAN-CVE-2024-0397
- Unknown DEBIAN-CVE-2023-6597
- Unknown DEBIAN-CVE-2024-0450
- Unknown DEBIAN-CVE-2023-40217
Site Security Check
Is pypy3 part of your stack?
DEBIAN-CVE-2022-0391 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.