{"id":"UBUNTU-CVE-2019-15608","details":"The package integrity validation in yarn \u003c 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.","modified":"2025-07-16T08:23:48.470160Z","published":"2020-03-15T18:15:00Z","withdrawn":"2025-07-18T16:45:18Z","upstream":["CVE-2019-15608"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-15608"},{"type":"REPORT","url":"https://hackerone.com/reports/703138"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-15608"}],"affected":[{"package":{"name":"node-yarnpkg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-yarnpkg@1.19.1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.1-1"}]}],"versions":["1.13.0-1build1","1.13.0-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"yarnpkg","binary_version":"1.19.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15608.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low"}]}