janrywang/depath · Security

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

GHSA ID
GHSA-4h4x-4m75-47j4
CVE ID
CVE-2024-38985
Severity
high
Published
Updated
CVSS v4
8.9 · 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

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.

CWEs

References