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 (lib/index.js:90)

Critical ยท published March 28, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

๐Ÿ”ฅ The set() method is the culprit here, allowing attackers to mess with your app in absolutely devastating ways! ๐Ÿšจ Think of it like a restaurant where customers can sneakily add their own toppings to any dish without the chef knowing โ€” one wrong ingredient could ruin the whole meal! An attacker can execute arbitrary code or trigger a Denial of Service (DoS) attack, potentially bringing your application to its knees. This means they could alter how your app behaves or even crash it completely, creating chaos and leaving you scrambling to recover!

Put simply

Think of it like a restaurant where customers can sneakily add their own toppings to any dish without the chef knowing โ€” one wrong ingredient could ruin the whole meal! This prototype pollution vulnerability found in janryWang's depath v1.0.6 and cool-path v1.1.2 allows for the injection of arbitrary properties via the set() method. This means malicious users can manipulate and execute code unexpectedly within your application, leading to significant security risks.

What to do

An attacker can execute arbitrary code or trigger a Denial of Service (DoS) attack, potentially bringing your application to its knees. This means they could alter how your app behaves or even crash it completely, creating chaos and leaving you scrambling to recover! Upgrade to the patched versions of depath (v1.0.7) and cool-path (v1.1.3) immediately. Additionally, review your code to ensure that you validate all inputs and sanitize data properly to guard against future vulnerabilities. ๐Ÿš€ You got this! By taking these steps, you're on your way to becoming a security hero and protecting your application! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS v3.1
9.8 ยท CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00810 ยท 56.5th percentile
Published
2025-03-28T00:00Z
EPSS history
Timeline
  • 28 MAR 00:00Z
    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)
    cvelistv5