Time-of-check Time-of-use (TOCTOU) Affecting node-yarnpkg package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.84% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-NODEYARNPKG-560338
  • published15 Mar 2020
  • disclosed15 Mar 2020

Introduced: 15 Mar 2020

CVE-2019-15608  (opens in a new tab)
CWE-367  (opens in a new tab)
CWE-840  (opens in a new tab)

How to fix?

There is no fixed version for Debian:10 node-yarnpkg.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-yarnpkg package and not the node-yarnpkg package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1