CVE-2018-12556 Supply chain in n/a

Medium 5.9 Published Updated

Attackers can distribute malicious Yarn packages by signing them with arbitrary keys, bypassing signature verification in the installation script.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-12556?

CVE-2018-12556 is a medium-severity vulnerability in n/a, published on 16 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-347

Which versions are affected by CVE-2018-12556?

It affects 1 product.

Products include Yarnpkg Website.

How do I fix CVE-2018-12556?

No fix has been published for CVE-2018-12556 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-12556 being exploited?

There is no known exploitation of CVE-2018-12556 in the wild and no public exploit code.

Sources

Also known as GHSA-8mxx-g9vw-r875, UBUNTU-CVE-2018-12556.

Is CVE-2018-12556 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free