Improper Integrity Checks Affecting yarn package, versions <1.19


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (72nd 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-JS-YARN-557182
  • published26 Feb 2020
  • disclosed26 Feb 2020
  • creditchalker

Introduced: 26 Feb 2020

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

How to fix?

Upgrade yarn to version 1.19 or higher.

Overview

yarn is a package for dependency management.

Affected versions of this package are vulnerable to Improper Integrity Checks. It allows to pollute yarn cache via a crafted yarn.lock file and place a malicious package into cache under any name/version, bypassing both integrity and hash checks in yarn.lock so that any future installs of that package will install the fake version (regardless of integrity and hashes).

CVSS Scores

version 3.1