{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2019-15608", "ASSIGNER": "support@hackerone.com", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "n/a", "product": { "product_data": [ { "product_name": "yarn", "version": { "version_data": [ { "version_value": "Fixed in 1.19.0" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Business Logic Errors (CWE-840)" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "name": "https://hackerone.com/reports/703138", "url": "https://hackerone.com/reports/703138" }, { "refsource": "MISC", "name": "https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c", "url": "https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c" }, { "refsource": "MISC", "name": "https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190", "url": "https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] } }