CVE-2022-2216 Server-Side Request Forgery (SSRF) in ionicabizau/parse-url

Critical 9.4 Published Updated

An attacker can exploit a Server-Side Request Forgery vulnerability in the parse-url library to access internal resources or bypass security controls.

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-2216?

CVE-2022-2216 is a critical server-side request forgery vulnerability in ionicabizau/parse-url, published on 27 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.

Weakness: CWE-918

Which versions are affected by CVE-2022-2216?

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

PackageAffectedFixed in
parse-url npmAll versions6.0.1
parse-url npmAll versions6.0.1

Products include Parse-Url Project Parse-Url.

How do I fix CVE-2022-2216?

Upgrade parse-url to 6.0.1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2022-2216 being exploited?

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

Sources

Also known as GHSA-7f3x-x4pr-wqhj.

Is CVE-2022-2216 in your software?

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

Check your SBOMs for free