CVE-2019-10773
Yarn
HIGH 7.8
En bref
- Source
- NVD
- EPSS
- EPSS 1.52 % · centile 74 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- snyk
- Statut NVD
- Modified
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.
Faiblesses (CWE)
- CWE-59 — Suivi de lien non maîtrisé
Références
- https://snyk.io/vuln/SNYK-JS-YARN-537806%2C
- https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
- https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023
- https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/
- https://access.redhat.com/errata/RHSA-2020:0475
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-5xf4-f2fq-f69j — Yarn Improper link resolution before file access (Link Following)
Références européennes
- ENISA EUVD · EUVD-2020-0291
- GCVE · GCVE-0-2019-10773
Configurations affectées (CPE NVD)
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*< 1.21.1
Produits affectés
| Produit | Versions |
|---|---|
| Yarn | affected All versions prior to version 1.21.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |