{"containers":{"cna":{"affected":[{"product":"yarn","vendor":"n/a","versions":[{"status":"affected","version":"Fixed in 1.19.0"}]}],"descriptions":[{"lang":"en","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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-840","description":"Business Logic Errors (CWE-840)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2020-03-21T00:21:41.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","shortName":"hackerone"},"references":[{"tags":["x_refsource_MISC"],"url":"https://hackerone.com/reports/703138"},{"tags":["x_refsource_MISC"],"url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c"},{"tags":["x_refsource_MISC"],"url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2019-15608","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"yarn","version":{"version_data":[{"version_value":"Fixed in 1.19.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Business Logic Errors (CWE-840)"}]}]},"references":{"reference_data":[{"name":"https://hackerone.com/reports/703138","refsource":"MISC","url":"https://hackerone.com/reports/703138"},{"name":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c","refsource":"MISC","url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c"},{"name":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190","refsource":"MISC","url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-05T00:49:13.783Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://hackerone.com/reports/703138"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190"}]}]},"cveMetadata":{"assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","assignerShortName":"hackerone","cveId":"CVE-2019-15608","datePublished":"2020-03-15T17:08:13.000Z","dateReserved":"2019-08-26T00:00:00.000Z","dateUpdated":"2024-08-05T00:49:13.783Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}