CRITICAL🇵🇱 Wersja polska

CVE-2024-38985

CVSS 9.8v3.1pub. 2025-03-28upd. 2025-04-30

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.

🤖 AI Analysis
How it works

The vulnerability lies in the setIn() function located in the lib/index.js file (line 90), called by the set() method. An attacker can pass specially crafted object properties (e.g., __proto__, constructor, or prototype) that modify the prototype of the base JavaScript object. Prototype pollution causes properties injected by the attacker to be inherited by all objects in the application, which can lead to arbitrary code execution or disruption of application functionality.

Impact

An attacker can remotely execute arbitrary code on the server (RCE) or cause service unavailability (DoS). Full compromise of system confidentiality, integrity, and availability is possible.

Mitigation & patch

Apply patches available from the vendor according to the references. As a workaround, consider rejecting or sanitizing input data containing keys such as __proto__, constructor, or prototype before passing them to the set() method.

Who is affected

janryWang depath v1.0.6 and cool-path v1.1.2

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Janrywang Depath

    APP
    Janrywang
    1.0.61.1.2
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEDoS
CWE
References