{"id":"CVE-2024-38985","aliases":["CVE-2024-38985","GHSA-4h4x-4m75-47j4"],"related":[],"kind":"vulnerability","state":"published","title":"depath and cool-path vulnerable to Prototype Pollution via `set()` Method","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se descubrió que los productos janryWang depath v1.0.6 y cool-path v1.1.2 contenían una contaminación de prototipo mediante el método set() en setIn (lib/index.js:90). Esta vulnerabilidad permite a los atacantes ejecutar código arbitrario o provocar una denegación de servicio (DoS) mediante la inyección de propiedades arbitrarias.","source":"nvd"}],"published":"2025-03-28T00:00:00.000Z","modified":"2026-06-17T07:41:18.497Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.6"}],"ecosystem":"npm","package":"depath","purl":"pkg:npm/depath","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.2"}],"ecosystem":"npm","package":"cool-path","purl":"pkg:npm/cool-path","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.0.6"},{"status":"affected","version":"1.1.2"}],"vendor":"janrywang","product":"depath","cpe":"cpe:2.3:a:janrywang:depath:1.0.6:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gist.github.com/mestrtee/32c0a48023036e51918f6a098f21953d","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/janryWang/depath/issues/11","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38985","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/janryWang/depath","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-04-01T18:28:55.021Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38985","url":"https://www.cve.org/CVERecord?id=CVE-2024-38985","licence":"CVE Terms of Use","modified":"2025-04-01T18:29:55.929Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4h4x-4m75-47j4","url":"https://github.com/advisories/GHSA-4h4x-4m75-47j4","licence":"CC-BY-4.0","modified":"2025-03-31T16:24:38.764Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38985","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38985","licence":"Public domain","modified":"2026-06-17T07:41:18.497Z"}],"updatedAt":"2026-11-25T22:58:52.456Z","epss":{"score":0.0081,"percentile":0.58093,"date":"2026-12-02T12:00:21.000Z"}}