Security mailing lists by PureSourceCode

CVE-2024-38985

CRITICAL 9.8CVSS 3.1

depath and cool-path vulnerable to Prototype Pollution via `set()` Method

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.

Published
28 Mar 2025
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-1321
Also known as
GHSA-4h4x-4m75-47j4
Sources
NVDJSONOSV GHSA-4h4x-4m75-47j4JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD janrywang depath
cpe:2.3:a:janrywang:depath:1.0.6:*:*:*:*:*:*:*
= 1.0.6
NVD janrywang depath
cpe:2.3:a:janrywang:depath:1.1.2:*:*:*:*:*:*:*
= 1.1.2
OSV npm depath <= 1.0.6
OSV npm cool-path <= 1.1.2

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 28 Mar 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 28 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.