CVE-2022-0512 Authorization Bypass Through User-Controlled Key in unshiftio/url-parse

High 8.8 Published Updated

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.

PackageAffectedFixed in
url-parse npmFrom 0.1.01.5.6
url-parse npmFrom 0.1.01.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.

Sources

Also known as DEBIAN-CVE-2022-0512, GHSA-rqff-837h-mm52, UBUNTU-CVE-2022-0512.

Is CVE-2022-0512 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free