Out-of-bounds Read in Fast String Search Project
CVE-2022-25872
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.011, 67.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Fast String Search Project
- Fast-String-Search — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-FASTSTRINGSEARCH-2392368 (Exploit, Third Party Advisory)
- github.com/magiclen/node-fast-string-search/blob/c8dd9fc966abc80b327f509e63360f… (Third Party Advisory, Broken Link)