CVEvulnerability

CVE-2019-10773

7.8 HIGH Published 2019-12-16 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-12-16
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-59

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.

Affected configurations

• yarnpkg yarn (< 1.21.1)

Related

Weakness · CWE (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References