Skip to main content
← All vulnerabilities
CVE-2019-15608GHSA-HJXC-462X-X77J

The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cac

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a yarn

    Fixed in 1.19.0

  • yarnnpm

    fixed in 1.19.0

References 3

hackerone.com

GitHub · yarnpkg/yarn