CVE-2019-10773

HIGH EPSS 71.2%
Published Dec 16, 20196y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Dec 16, 2019 6y ago
Last Modified Jun 17, 2026 2w ago

Description

In Yarn before 1.21.1, 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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
71.2% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-59

Affected Products 1

VendorProductVersionRange
yarnpkgyarn* <1.21.1

References 7

  • access.redhat.com https://access.redhat.com/errata/RHSA-2020:0475
  • blog.daniel-ruf.de https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/
    ExploitThird Party Advisory
  • github.com https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
    PatchThird Party Advisory
  • github.com https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023
    ExploitThird Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/
  • snyk.io https://snyk.io/vuln/SNYK-JS-YARN-537806%2C

Remediation

  • github.com https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
    PatchThird Party Advisory