CVE-2018-12556
Reported by mitre · Published May 16, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| website | yarnpkg | 2018-06-05 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- May 16, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 5, 2024 CVE Updated
- Jun 1, 2026 Security Advisory
- Sep 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-12556
vulnetix vdb fixes CVE-2018-12556
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-12556/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- 20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clients mailing-listx_refsource_FULLDISC
- x_refsource_MISC
- [oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients) mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC