CVE-2024-38985 — Vulnerability in cool-path — CVE Details
HIGH
depath and cool-path vulnerable to Prototype Pollution via `set()` Method
Published March 28, 2025Updated March 31, 2025Source: osv
Summary
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.
Advisory Timeline
- First published March 28, 2025 (563 days ago).
- Last revised March 31, 2025 — 3 days after initial publication.
Affected Packages (2)
Affects 1 ecosystem: npm (2).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—
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
References
Frequently Asked Questions
- What is CVE-2024-38985?
- depath and cool-path vulnerable to Prototype Pollution via `set()` Method This vulnerability has been assigned a severity rating of HIGH (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2024-38985?
- CVE-2024-38985 affects cool-path and depath. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-38985 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
10.0
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-4h4x-4m75-47j4
Related CVEs
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies