npmWorst: High5 advisories

yarn: known vulnerabilities

yarn has 5 reviewed security advisories in the GitHub Advisory Database — 4 high, 1 moderate. The most recent was published 2024-02-04. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the yarn versions running across your servers, containers and images, and ranks what to patch first.

How to fix yarn

Upgrade yarn to a release at or above the fixed version shown for each advisory below. For npm:

npm install yarn@1.22.13 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (5)

Yarn untrusted search path vulnerability High 7.7 CWE-426 — Affected: before 1.22.13. Fixed in 1.22.13. Published 2024-02-04. GHSA-mpwj-fcr6-x34c · CVE-2021-4435
Yarn Improper link resolution before file access (Link Following) High 7.8 CWE-78 — Affected: before 1.22.0. Fixed in 1.22.0. Published 2020-02-14. GHSA-5xf4-f2fq-f69j · CVE-2019-10773
Missing Encryption of Sensitive Data in yarn High 8.1 CWE-311 CWE-319 — Affected: before 1.17.3. Fixed in 1.17.3. Published 2019-07-30. GHSA-wqfc-cr59-h64p · CVE-2019-5448

Find yarn across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.