Skip to content
OpenAdvisories
High · 7.5 CVE-2018-16472 EUVD-2018-0754GHSA-hc9w-4p87-j549

Prototype Pollution in cached-path-relative

Published Nov 6, 2018 · Updated Aug 5, 2024 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
npm cached-path-relative <=1.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-cached-path-relative 1.0.2-1 —
Debian 13 node-cached-path-relative 1.0.2-1 —
Debian 12 node-cached-path-relative 1.0.2-1 —
Debian 10 node-cached-path-relative 1.0.1-2+deb10u1 DLA-3221-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-cached-path-relative No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm cached-path-relative < 1.0.2 1.0.2 GHSA-hc9w-4p87-j549

Advisories 1

References