CVE-2019-15608: Time-of-check Time-of-use (TOCTOU) Race Condition
(updated )
The package integrity validation in yarn 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.
References
Code Behaviors & Features
Detect and mitigate CVE-2019-15608 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →