Lucene search

K
cveHackeroneCVE-2019-15608
HistoryMar 15, 2020 - 6:15 p.m.

CVE-2019-15608

2020-03-1518:15:11
CWE-840
CWE-367
hackerone
web.nvd.nist.gov
55
cve
yarn
toctou
vulnerability
nvd
cache pollution attack

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

AI Score

5.6

Confidence

High

EPSS

0.003

Percentile

71.0%

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 configurations

Nvd
Vulners
Node
yarnpkgyarnRange<1.19.0
VendorProductVersionCPE
yarnpkgyarn*cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "yarn",
    "vendor": "n/a",
    "versions": [
      {
        "status": "affected",
        "version": "Fixed in 1.19.0"
      }
    ]
  }
]

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

AI Score

5.6

Confidence

High

EPSS

0.003

Percentile

71.0%