CVE-2019-15608: Medium severity yarn vulnerability

Published Mar 15, 2020
·
Updated

The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache. It's not computed again when reading from the cache. This may lead to a cache pollution attack.

Affected Software

2 affected componentsFixes available
npm/yarn<1.19.0
1.19.0
yarnpkg yarn<1.19.0

Event History

Mar 15, 2020
CVE Published
via MITRE·05:08 PM
Data Sourced
via MITRE·05:08 PM
DescriptionWeakness
Feb 9, 2022
Advisory Published
10:49 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-15608?

CVE-2019-15608 is a vulnerability in the package integrity validation in yarn < 1.19.0 that allows a cache pollution attack.

2

How severe is CVE-2019-15608?

CVE-2019-15608 has a severity score of 5.9 (medium).

3

Which software is affected by CVE-2019-15608?

Yarn versions prior to 1.19.0 are affected by CVE-2019-15608.

4

How can I fix CVE-2019-15608?

To fix CVE-2019-15608, update your Yarn version to at least 1.19.0.

5

Where can I find more information about CVE-2019-15608?

You can find more information about CVE-2019-15608 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-15608), [GitHub Commit](https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c), [HackerOne Report](https://hackerone.com/reports/703138).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203