CVE-2019-10773
CVE-2019-10773 is a high-severity vulnerability in Yarnpkg Yarn with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 2% (71st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-59
- Affected product: Yarnpkg Yarn
- Published:
- Last 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.
Frequently asked questions
- What is CVE-2019-10773?
- 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.
- How severe is CVE-2019-10773?
- CVE-2019-10773 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2019-10773 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (71st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-10773?
- CVE-2019-10773 affects Yarnpkg Yarn. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-10773?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2019-10773 published?
- CVE-2019-10773 was published on 2019-12-16 and last updated on 2026-06-17.
References
- https://access.redhat.com/errata/RHSA-2020:0475
- https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/
- https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
- https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/
- https://snyk.io/vuln/SNYK-JS-YARN-537806%2C
Affected products (1)
- cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
More vulnerabilities in Yarnpkg Yarn
- CVE-2019-5448 — High (CVSS 8.1): Yarn before 1.17.3 is vulnerable to Missing Encryption of Sensitive Data due to HTTP URLs in lockfile causing…
- CVE-2021-4435 — High (CVSS 7.7): An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with…
- CVE-2020-8131 — High (CVSS 7.5): Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem…
- CVE-2019-15608 — Medium (CVSS 5.9): The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before…
- CVE-2025-8262 — Medium (CVSS 4.3): A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the…
- CVE-2025-9308 — Low (CVSS 3.3): A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file…
All CVEs affecting Yarnpkg Yarn →
Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities
- CVE-2024-37143 — Critical (CVSS 10.0): Dell PowerFlex appliance versions prior to IC 46.381.00 and IC 46.376.00, Dell PowerFlex rack versions prior to RCM…
- CVE-2024-28189 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file…
- CVE-2024-28185 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application does not account for symlinks placed inside the…
- CVE-2022-22995 — Critical (CVSS 10.0): The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of…
- CVE-2014-4480 — Critical (CVSS 10.0): Directory traversal vulnerability in afc in AppleFileConduit in Apple iOS before 8.1.3 and Apple TV before 7.0.3 allows…
- CVE-2002-2374 — Critical (CVSS 10.0): Unspecified vulnerability in pprosetup in Sun PatchPro 2.0 has unknown impact and attack vectors related to "unsafe use…
Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →