{ "schema_version": "1.4.0", "id": "GHSA-hmqg-p8f8-3qrw", "modified": "2022-06-20T22:28:11Z", "published": "2022-06-18T00:00:19Z", "aliases": [ "CVE-2022-25872" ], "summary": "Out-of-bounds Read in fast-string-search", "details": "All versions of package fast-string-search are vulnerable to Out-of-bounds Read due to incorrect memory freeing and length calculation for any non-string input as the source. This allows the attacker to read previously allocated memory.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "fast-string-search" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "1.4.3" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25872" }, { "type": "PACKAGE", "url": "https://github.com/magiclen/node-fast-string-search" }, { "type": "WEB", "url": "https://github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L192" }, { "type": "WEB", "url": "https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368" } ], "database_specific": { "cwe_ids": [ "CWE-125" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2022-06-20T22:28:11Z", "nvd_published_at": "2022-06-17T20:15:00Z" } }