@pnpm/package-bins@3.0.1 vulnerabilities

Returns bins of a package

Direct Vulnerabilities

Known vulnerabilities in the @pnpm/package-bins package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Arbitrary File Write

@pnpm/package-bins is a that returns bins of a package.

Affected versions of this package are vulnerable to Arbitrary File Write. The package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted bin keys. Existing files could be overwritten depending on the current user permission set.

How to fix Arbitrary File Write?

Upgrade @pnpm/package-bins to version 4.0.1 or higher.

<4.0.1