Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-47829 EUVD-2025-12168GHSA-8cc4-rfj6-fhg4

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

Published Apr 23, 2025 · Updated Apr 23, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
pnpm pnpm < 10.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling pnpm-stage0 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm pnpm < 10.0.0 10.0.0 GHSA-8cc4-rfj6-fhg4

References