{"cve":"CVE-2024-38985","nvd":{"published":"2025-03-28T21:15:16.867","modified":"2026-06-17T07:41:18.497","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-1321"],"references":["https://gist.github.com/mestrtee/32c0a48023036e51918f6a098f21953d","https://github.com/janryWang/depath/issues/11","https://gist.github.com/mestrtee/32c0a48023036e51918f6a098f21953d"],"products":["janrywang:depath"],"source":"nvd","synced_at":"2026-10-19T22:00:28.034033815+00:00"},"epss":{"cve":"CVE-2024-38985","score":0.0081,"percentile":0.56913,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4h4x-4m75-47j4","url":"https://osv.dev/vulnerability/GHSA-4h4x-4m75-47j4","summary":"depath and cool-path vulnerable to Prototype Pollution via `set()` Method","modified":"2025-03-31T16:24:38.764249Z","packages":[{"ecosystem":"npm","name":"depath","purl":"pkg:npm/depath","ranges":["<=1.0.6"],"fixed":[]},{"ecosystem":"npm","name":"cool-path","purl":"pkg:npm/cool-path","ranges":["<=1.1.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}