Quick answers
- Is CVE-2022-2217 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-2217 being exploited in the wild.
- How severe is CVE-2022-2217?
- Low severity, with a CVSS score of 3.1, published 28 June 2022.
- Which products and versions are affected?
- parse-url (npm) SEMVER:introduced=0,fixed=6.0.1.
- Is there a fix for CVE-2022-2217?
- Yes. parse-url (npm): upgrade to 6.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-2217 attacked?
- It is attacked over the network.
- Am I affected by CVE-2022-2217?
- Check whether you run parse-url (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- parse-url (npm): upgrade to 6.0.1 or later
npm install parse-url@6.0.1
Technical details
The vulnerability is a stored/reflected Cross-Site Scripting (CWE-79) flaw in the parse-url library prior to version 6.0.1. The library fails to properly sanitize or escape URL components when parsing input, allowing an attacker to inject arbitrary HTML and JavaScript code. The vulnerability requires user interaction (visiting a malicious link or rendering untrusted URL data in a web context) but has a network attack vector with low complexity. An attacker can execute arbitrary JavaScript in the context of an affected application, compromising user sessions and data. The fix was released in version 6.0.1 (patched on 2022-06-27).
Affected products
- ionicabizau parse-url prior to 6.0.1
Identifiers
- CVE-2022-2217
- GHSA-q6wq-5p59-983w
Timeline
- 2022-06-28: disclosed: Vulnerability published
- 2022-06-27: patched: Fixed in version 6.0.1