CVE-2018-16472 Prototype Pollution in cached-path-relative

High 7.5 Published Updated

Prototype pollution in cached-path-relative allows attackers to inject properties into Object.prototype, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-16472?

CVE-2018-16472 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 6 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.

Weakness: CWE-20, CWE-400

Which versions are affected by CVE-2018-16472?

2 open source packages ship an affected version, including cached-path-relative. It affects 2 products.

PackageAffectedFixed in
cached-path-relative npmAll versions1.0.2
cached-path-relative npmAll versions1.0.2

Products include Cached-Path-Relative Project Cached-Path-Relative, Debian Debian Linux.

How do I fix CVE-2018-16472?

Upgrade cached-path-relative to 1.0.2 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-16472 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-16472, GHSA-hc9w-4p87-j549, UBUNTU-CVE-2018-16472.

Is CVE-2018-16472 in your software?

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

Check your SBOMs for free