CVE Vulnerabilities

CVE-2024-38985

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published: Mar 28, 2025 | Modified: Apr 30, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Software

NameVendorStart VersionEnd Version
DepathJanrywang1.0.6 (including)1.0.6 (including)
DepathJanrywang1.1.2 (including)1.1.2 (including)

Potential Mitigations

References