UBUNTU-CVE-2019-15608

Source
https://ubuntu.com/security/CVE-2019-15608
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15608.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2019-15608
Related
Published
2020-03-15T18:15:00Z
Modified
2025-01-13T10:21:59Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:20.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.19.1-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.19.1-1

Affected versions

1.*

1.13.0-1build1
1.13.0-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.19.1-1",
            "binary_name": "yarnpkg"
        }
    ]
}