In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about External Control of File Name or Path vulnerabilities in an interactive lesson.
Start learningUpgrade pnpm to version 12.0.0-alpha.5 or higher.
pnpm is a Fast, disk space efficient package manager
Affected versions of this package are vulnerable to External Control of File Name or Path and link following in its lockfile install path (safe_join_modules_dir.rs in the bundled pacquet package manager), whose containment checks fail to reject traversal, absolute, platform-specific, and reserved dependency names. An attacker can create symlinks and write files outside the project or node_modules boundary by distributing a lockfile whose dependency aliases contain traversal segments such as ../../escaped-link. This requires the victim to run an install with --trust-lockfile, or a trusted frozen lockfile, against the attacker-supplied lockfile.