Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. yarn
  4. ›
  5. CVE-2019-10773

CVE-2019-10773: Improper Link Resolution Before File Access

December 16, 2019 (updated December 27, 2019)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2019-10773

Code Behaviors & Features

Detect and mitigate CVE-2019-10773 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.21.1

Fixed versions

  • 1.21.1

Solution

Upgrade to version 1.21.1 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

npm/yarn/CVE-2019-10773.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.