CVE-2018-12556
Yarnpkg Website vulnerability
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.
Affected products
Website. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yarnpkg Website runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html · Third Party Advisory
- seclists.org/fulldisclosure/2019/Apr/38 · Third Party Advisory
- github.com/RUB-NDS/Johnny-You-Are-Fired · Third Party Advisory
- github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf · Third Party Advisory
- github.com/yarnpkg/website/commits/master · Third Party Advisory
- www.openwall.com/lists/oss-security/2019/04/30/4 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-12556
- cve.org/CVERecord?id=CVE-2018-12556
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.