medium5.3
CVE-2022-25872
Out-of-bounds Read in fast-string-search
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | fast-string-search | <= 1.4.3 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Fast String Search Project | Fast String Search | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f59e0de9fb5/src/fast-string-search.c%23L192
- https://snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368
- https://github.com/advisories/GHSA-hmqg-p8f8-3qrw
- https://nvd.nist.gov/vuln/detail/CVE-2022-25872