Upstream information
Description
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.SUSE information
Overall state of this security issue: Does not affect SUSE products
This issue is currently rated as having moderate severity.
| CVSS detail | National Vulnerability Database | 
|---|---|
| Base Score | 4.3 | 
| Vector | AV:N/AC:M/Au:N/C:N/I:P/A:N | 
| Access Vector | Network | 
| Access Complexity | Medium | 
| Authentication | None | 
| Confidentiality Impact | None | 
| Integrity Impact | Partial | 
| Availability Impact | None | 
| CVSS detail | National Vulnerability Database | 
|---|---|
| Base Score | 5.9 | 
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | 
| Attack Vector | Network | 
| Attack Complexity | High | 
| Privileges Required | None | 
| User Interaction | None | 
| Scope | Unchanged | 
| Confidentiality Impact | None | 
| Integrity Impact | High | 
| Availability Impact | None | 
| CVSSv3 Version | 3.1 | 
SUSE Timeline for this CVE
CVE page created: Sun Mar 15 21:40:47 2020CVE page last modified: Mon Oct 6 19:22:29 2025
