Reversible One-Way Hash in pnpm - CVE-2024-47829

 

Reversible One-Way Hash in pnpm - CVE-2024-47829

Published: April 28, 2025


Vulnerability identifier: #VU107994
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-47829
CWE-ID: CWE-328
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: pnpm
Affected software:
pnpm

Detailed vulnerability description

The vulnerability allows a remote attacker to overwrite existing packages on the system.

The vulnerability exists due to software pnpm uses md5 function as a path shortening compression function, which can cause collisions in path names. A remote attacker can trick the victim into installing a specially crafted package and overwrite existing packages on the system.


How to mitigate CVE-2024-47829

Install updates from vendor's website.

Sources