{"id":"GHSA-4h4x-4m75-47j4","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.","aliases":["CVE-2024-38985"],"modified":"2025-03-31T16:24:38.764249Z","published":"2025-03-28T21:30:46Z","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"},"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"}],"affected":[{"package":{"name":"depath","ecosystem":"npm","purl":"pkg:npm/depath"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-4h4x-4m75-47j4/GHSA-4h4x-4m75-47j4.json"}},{"package":{"name":"cool-path","ecosystem":"npm","purl":"pkg:npm/cool-path"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-4h4x-4m75-47j4/GHSA-4h4x-4m75-47j4.json"}}],"schema_version":"1.9.0","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"}]}