Reversible One-Way Hash in pnpm - CVE-2024-47829
Published: April 28, 2025
Vulnerability details
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.
Affected software
Fedora
nodejs-bash-language-server
nodejs-pnpm
How to mitigate CVE-2024-47829
nodejs-bash-language-server - addressed in versions 5.6.0-1.fc40, 5.6.0-1.fc41, 5.6.0-2.fc42
nodejs-pnpm - addressed in versions 10.9.0-1.fc40, 10.9.0-1.fc41, 10.9.0-1.fc42