NetSight
critical9.8

CVE-2024-38985

depath and cool-path vulnerable to Prototype Pollution via `set()` Method

Impact

janryWang products depath v1.0.6 and cool-path v1.1.2 were discovered to contain a prototype pollution via the set() method at setIn (lib/index.js:90). This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

Affected packages

EcosystemPackageAffectedFixed in
npmdepath<= 1.0.6none recorded
npmcool-path<= 1.1.2none recorded

Affected products

VendorProductAffected versions
JanrywangDepath
Versions 1.0.6, 1.1.2

Weakness classification

References