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

Medium 6.5 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
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.

PackageAffectedFixed in
url-parse npmAll versions1.5.8
url-parse npmAll versions1.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.

Sources

Also known as DEBIAN-CVE-2022-0686, GHSA-hgjh-723h-mx2j, UBUNTU-CVE-2022-0686.

Is CVE-2022-0686 in your software?

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

Check your SBOMs for free