Skip to content

CVE-2024-47829 pnpm uses the md5 path shortening function causes packet paths to coincide, which causes indirect packet overwriting

MediumCVSS 6.5 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

pnpm is a package manager. Prior to version 10.0.0, the path shortening function uses the md5 function as a path shortening compression function, and if a collision occurs, it will result in the same storage path for two different libraries. Although the real names are under the package name /node_modoules/, there are no version numbers for the libraries they refer to. This issue has been patched in version 10.0.0.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm pnpm(npm) < 10.0.0 10.0.0 Fixed
pnpm < 10.0.0; = < 10.0.0 10.0.0 Fixed

Affected products

ProductAffected versionsFixed in
npm pnpm(npm) < 10.0.0 10.0.0
pnpm = < 10.0.0 No fix listed
pnpm < 10.0.0 10.0.0

References