Skip to content

CVE-2018-12556 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 n...

MediumCVSS 5.9 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

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.

Upgrade path

7 packages: 1 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-yarnpkg(Ubuntu 20.04) = 1.13.0-1build1; = 1.13.0-3; = 1.19.1-1; = 1.22.4-2 +1 more No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 22.04) = 1.22.10+~cs22.25.14-3; = 1.22.10+~cs22.25.14-4; = 1.22.10+~cs22.25.14-5; = 1.22.10+~cs22.25.14-8 +1 more No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 24.04) = 1.22.19+~cs24.27.18-2; = 1.22.19+~cs24.27.18-4; All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 25.10) = 4.0.2+dfsg-3; = 4.1.0+dfsg-1; All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 26.04) = 4.1.0+dfsg-1; All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 26.10) = 4.1.0+dfsg-1; = 4.1.0+dfsg-6ubuntu2; = 4.1.0+dfsg-7ubuntu1; All versions No fix listed No fix yet
yarnpkg website <= 2018-06-05 after 2018-06-05 Fixed

Affected products

ProductAffected versionsFixed in
yarnpkg website <= 2018-06-05 No fix listed
ubuntu/node-yarnpkg(Ubuntu:24.04) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.04) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:20.04) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:20.04) = 1.13.0-1build1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:20.04) = 1.13.0-3 No fix listed
ubuntu/node-yarnpkg(Ubuntu:20.04) = 1.19.1-1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:20.04) = 1.22.4-2 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-3 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-4 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-5 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-8 No fix listed
ubuntu/node-yarnpkg(Ubuntu:24.04) = 1.22.19+~cs24.27.18-2 No fix listed
ubuntu/node-yarnpkg(Ubuntu:24.04) = 1.22.19+~cs24.27.18-4 No fix listed
ubuntu/node-yarnpkg(Ubuntu:25.10) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:25.10) = 4.0.2+dfsg-3 No fix listed
ubuntu/node-yarnpkg(Ubuntu:25.10) = 4.1.0+dfsg-1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) = 4.1.0+dfsg-1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) = 4.1.0+dfsg-6ubuntu2 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) = 4.1.0+dfsg-7ubuntu1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.04) = 4.1.0+dfsg-1 No fix listed

References