{ "schema_version": "1.4.0", "id": "GHSA-4h4x-4m75-47j4", "modified": "2025-03-31T15:56:47Z", "published": "2025-03-28T21:30:46Z", "aliases": [ "CVE-2024-38985" ], "summary": "depath and cool-path vulnerable to Prototype Pollution via `set()` Method", "details": "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.", "severity": [ { "type": "CVSS_V4", "score": "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" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "depath" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "1.0.6" } ] } ] }, { "package": { "ecosystem": "npm", "name": "cool-path" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "1.1.2" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-38985" }, { "type": "WEB", "url": "https://github.com/janryWang/depath/issues/11" }, { "type": "WEB", "url": "https://gist.github.com/mestrtee/32c0a48023036e51918f6a098f21953d" }, { "type": "PACKAGE", "url": "https://github.com/janryWang/depath" } ], "database_specific": { "cwe_ids": [ "CWE-1321" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-03-31T15:56:47Z", "nvd_published_at": "2025-03-28T21:15:16Z" } }