ghsa-hjxc-462x-x77j
Vulnerability from github
Published
2022-02-09 22:49
Modified
2023-09-08 23:56
Severity ?
Summary
TOCTOU Race Condition in Yarn
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. This issue is fixed in 1.19.0.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "yarn" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.19.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2019-15608" ], "database_specific": { "cwe_ids": [ "CWE-367" ], "github_reviewed": true, "github_reviewed_at": "2021-04-08T22:21:40Z", "nvd_published_at": "2020-03-15T18:15:00Z", "severity": "MODERATE" }, "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\u0027s not computed again when reading from the cache. This may lead to a cache pollution attack. This issue is fixed in 1.19.0.", "id": "GHSA-hjxc-462x-x77j", "modified": "2023-09-08T23:56:07Z", "published": "2022-02-09T22:49:38Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-15608" }, { "type": "WEB", "url": "https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c" }, { "type": "WEB", "url": "https://hackerone.com/reports/703138" }, { "type": "WEB", "url": "https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ], "summary": "TOCTOU Race Condition in Yarn" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.