CVE-2024-38985 Details
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.
A prototype pollution vulnerability has been identified in janryWang's depath version 1.0.6 and cool-path version 1.1.2. The issue arises in the 'set()' method of 'lib/index.js' at line 90, where properties are unsafely assigned, allowing attackers to inject arbitrary properties. This vulnerability can be exploited to execute arbitrary code or cause a denial-of-service by manipulating built-in Object properties such as '__proto__' or 'constructor.prototype'.
Users are advised to implement proper sanitization and validation of inputs to prevent exploitation. This includes blocking inputs that contain '__proto__' or 'constructor.prototype'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| janrywang depath | 1.0.6 1.1.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2025 | Initial Analysis | [email protected] |
| Apr 1, 2025 | CVE Modified | CISA-ADP |
| Mar 28, 2025 | New CVE Received | [email protected] |