Arbitrary File Write

Affecting @pnpm/package-bins package, versions <4.0.1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

@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.

Remediation

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

References

CVSS Score

2.6
low severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    Low
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
Credit
Daniel Ruf
CVE
CVE-2019-10773
CWE
CWE-22
Snyk ID
SNYK-JS-PNPMPACKAGEBINS-539934
Disclosed
11 Dec, 2019
Published
13 Dec, 2019