CVE-2024-38985
depath and cool-path vulnerable to Prototype Pollution via `set()` Method
EPSS 0.39%
Description
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.
How to fix CVE-2024-38985
No fixed version has been published yet. Mitigate by removing the affected package or applying upstream guidance from the references below.
- npm/cool-path—no fix listed
- npm/depath—no fix listed
Is CVE-2024-38985 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, <= 1.1.2
- from 0, <= 1.0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N/E:P |