GitHub Advisoryadvisory · npm

GHSA-4h4x-4m75-47j4 depath and cool-path vulnerable to Prototype Pollution via `set()` Method

HIGH Published 2025-03-28 Modified 2025-03-31 Official page ↗
Aliases
CVE-2024-38985
Ecosystem
npm
Packages
depath, cool-path
Severity
High
CVSS vector
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
Weaknesses
CWE-1321
Reviewed
2025-03-31

Affected packages

• npm depath: <= 1.0.6 (no fix yet) • npm cool-path: <= 1.1.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-38985 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… vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References