Live threats

All CVEs / Yarnpkg

CVE-2018-12556Yarnpkg Website

Medium 5.9 No auth needed

Priority
51
CVSS 3.0
5.9
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
May 16, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

The signature verification routine in install.sh in yarnpkg/website through 2018-06-05 only verifies that the yarn release is signed by any (arbitrary) key in the local keyring of the user, and does not pin the signature to the yarn release key, which allows remote attackers to sign tampered yarn release packages with their own key.

Original NVD text.

What to do

  1. Apply the vendor's security update for Website.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
yarnpkgwebsite≤ 2018-06-05

Official sources

References

Links published by the sources. Open them with care.