CVE-2022-0639 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-0639?

CVE-2022-0639 is a medium-severity authentication bypass vulnerability in unshiftio/url-parse, published on 17 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.7.

Weakness: CWE-639

Which versions are affected by CVE-2022-0639?

2 open source packages ship an affected version, including url-parse. It affects 1 product.

PackageAffectedFixed in
url-parse npmFrom 1.0.01.5.7
url-parse npmFrom 1.0.01.5.7

Products include Url-Parse Project Url-Parse.

How do I fix CVE-2022-0639?

Upgrade url-parse to 1.5.7 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-0639 being exploited?

There is no known exploitation of CVE-2022-0639 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-0639, DLA-4413-1, GHSA-8v38-pw62-9cw2, UBUNTU-CVE-2022-0639.

Is CVE-2022-0639 in your software?

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

Check your SBOMs for free