Quick answers
- Is CVE-2022-0868 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-0868 being exploited in the wild.
- How severe is CVE-2022-0868?
- Low severity, with a CVSS score of 3.1, published 7 March 2022.
- Which products and versions are affected?
- urijs (npm) SEMVER:introduced=0,fixed=1.19.10.
- Is there a fix for CVE-2022-0868?
- Yes. urijs (npm): upgrade to 1.19.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-0868 attacked?
- It is attacked over the network.
- Am I affected by CVE-2022-0868?
- Check whether you run urijs (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
- urijs (npm): upgrade to 1.19.10 or later
npm install urijs@1.19.10
Technical details
urijs versions before 1.19.10 are vulnerable to open redirect (CWE-601) due to a bypass of the previous fix for CVE-2022-0613. The vulnerability exists in the URL parsing logic, specifically in how the library handles scheme delimiters with excessive colons. An attacker can craft a malicious URL that passes the library's validation checks but redirects to an attacker-controlled destination. The vulnerability requires user interaction (a user must click the malicious link or be redirected programmatically). The fix is available in version 1.19.10, which properly handles excessive colons in scheme delimiters.
Affected products
- urijs urijs before 1.19.10
Identifiers
- CVE-2022-0868
- GHSA-8h2f-7jc4-7m3m
Timeline
- 2022-03-07: disclosed
- 2022-03-07: patched: Version 1.19.10 released with fix