CVE-2024-38985: depath and cool-path vulnerable to Prototype Pollution via `set()` Method
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.
Published Mar 28, 2025 · Updated Mar 31, 2025
Affected packages
depath
- Ecosystem
- npm
- Affected
- <= 1.0.6
- Fixed in
- No patched version yet
- Check
npm ls depath
cool-path
- Ecosystem
- npm
- Affected
- <= 1.1.2
- Fixed in
- No patched version yet
- Check
npm ls cool-path
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
