Advisory

GHSA-4h4x-4m75-47j4

Also known as: 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

High Basis: The source's own band: HIGH

Dates

Published
2025-03-28 21:30 UTC
Modified
2025-03-31 16:24 UTC

Affected packages and fixes

depath

npm · All systems

Affected

  • introduced 0, last affected 1.0.6 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

cool-path

npm · All systems

Affected

  • introduced 0, last affected 1.1.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences