CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019

CVE-2019-15608
Yarnpkg Yarn vulnerability

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 products

Yarn. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Yarnpkg Yarn runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.