CVE-2022-0686 Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
An attacker can bypass authorization controls in the url-parse library by manipulating user-controlled keys, requiring developers to upgrade the dependency.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0686?
CVE-2022-0686 is a medium-severity authentication bypass vulnerability in unshiftio/url-parse, published on 20 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.8.
Weakness: CWE-639
Which versions are affected by CVE-2022-0686?
2 open source packages ship an affected version, including url-parse. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
url-parse npm | All versions | 1.5.8 |
url-parse npm | All versions | 1.5.8 |
Products include Url-Parse Project Url-Parse.
How do I fix CVE-2022-0686?
Upgrade url-parse to 1.5.8 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-0686 being exploited?
There is no known exploitation of CVE-2022-0686 in the wild and no public exploit code.
Other vulnerabilities in unshiftio/url-parse
- CVE-2018-3774 Open Redirect in url-parse
- CVE-2022-0512 Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
- CVE-2022-0691 Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
- CVE-2022-0639 Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
- CVE-2021-3664 Open Redirect in unshiftio/url-parse
Sources
Also known as DEBIAN-CVE-2022-0686, GHSA-hgjh-723h-mx2j, UBUNTU-CVE-2022-0686.