Arbitrary File Write

Affecting yarn package, versions <1.21.1

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

Overview

yarn is a package for dependency management.

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 yarn to version 1.21.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-YARN-537806
Disclosed
11 Dec, 2019
Published
13 Dec, 2019