CVE-2022-0512 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
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0512?
CVE-2022-0512 is a high-severity authentication bypass vulnerability in unshiftio/url-parse, published on 14 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.
Weakness: CWE-639
Which versions are affected by CVE-2022-0512?
2 open source packages ship an affected version, including url-parse. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
url-parse npm | From 0.1.0 | 1.5.6 |
url-parse npm | From 0.1.0 | 1.5.6 |
Products include Url-Parse Project Url-Parse.
How do I fix CVE-2022-0512?
Upgrade url-parse to 1.5.6 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-0512 being exploited?
There is no known exploitation of CVE-2022-0512 in the wild and no public exploit code.
Other vulnerabilities in unshiftio/url-parse
- CVE-2018-3774 Open Redirect in url-parse
- CVE-2022-0691 Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
- CVE-2022-0686 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-0512, GHSA-rqff-837h-mm52, UBUNTU-CVE-2022-0512.