GHSA-5xf4-f2fq-f69j

Yarn Improper link resolution before file access (Link Following)

At a glance

Published
Updated
CVE
CVE-2019-10773
Aliases
SNYK-JS-YARN-537806,
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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 packages

PackageVersions
npm · yarnintroduced 0, fixed 1.22.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database