CVE Vulnerabilities

CVE-2019-15608

Published: Mar 15, 2020 | Modified: Nov 21, 2024
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
4.4 MODERATE
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Ubuntu
LOW

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

Affected Software

Name Vendor Start Version End Version
Yarn Yarnpkg * 1.19.0 (excluding)
Node-yarnpkg Ubuntu eoan *
Node-yarnpkg Ubuntu trusty *
Node-yarnpkg Ubuntu upstream *

References