Advisories

pnpm from 12.0.0 before 12.10.0 Path Traversal via Global Virtual Store Version

Go back
Severity
critical
Date
Affecting
  • pnpm >= 12.0.0, < 12.10.0

CWE
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSS
10.0
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Credit
manus-pi, manus-use
Description
pnpm from 12.0.0 before 12.10.0 contains a path traversal vulnerability that allows malicious dependencies to write files outside the store via a crafted manifest version string. When enable-global-virtual-store is enabled, fresh or resolving installs build slot paths from the unvalidated version, letting attackers overwrite files such as git hooks for code execution.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.