CVE-2019-10773 json
Yarn Improper link resolution before file access (Link Following)
published 6y ago modified last mo. also GHSA-5xf4-f2fq-f69j , EUVD-2020-0291
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm yarn 1.22.0
- yarnpkg yarn 1.21.1
- node-yarnpkg Debian 14, Debian 13, Debian 12 1.21.1-1
debian advisories DEBIAN-CVE-2019-10773
- github.com/yarnpkg/yarn@039bafd commit
- github.com/yarnpkg/yarn#7755 pull request
Is CVE-2019-10773 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-10773 updated cvss 7.8
nodejs-yarn: Install functionality can be abused to generate arbitrary symlinks
-
Red Hat Quay v3 quay3/clair-jwt v3.2.1-1fixed: vendor fix RHSA-2020:0475
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023 referenced PoC, tagged "exploit" by a source, unverified
- blog.daniel-ruf.de https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | yarn | <1.22.0 |
1.22.0 |
Affected products
- n/a Yarn
Classification
References
-
github.com
/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
web, patch, third-party-advisory
-
github.com
/yarnpkg/yarn/pull/7755
web
-
github.com
/yarnpkg/yarn/issues/7761#issuecomment-565493023
web, exploit, third-party-advisory
-
blog.daniel-ruf.de
/critical-design-flaw-npm-pnpm-yarn/
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2020:0475
vendor-advisory, web
- snyk.io /vuln/SNYK-JS-YARN-537806%2C
-
nvd.nist.gov
/vuln/detail/CVE-2019-10773
advisory
-
blog.daniel-ruf.de
/critical-design-flaw-npm-pnpm-yarn
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI
web
-
snyk.io
/vuln/SNYK-JS-YARN-537806,
web
Sources
- CVE List CVE-2019-10773
- GitHub Advisory GHSA-5xf4-f2fq-f69j
- NVD CVE-2019-10773
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.