Vulnerability · Published Jun 17, 2022 · Assigned by snyk
CVE-2022-25872Out-of-bounds Read
Medium 5.3
In plain English
A medium-severity security flaw in fast-string-search. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities).
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.1%top 33.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | fast-string-search | no fix listed | GHSA-hmqg-p8f8-3qrw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | fast-string-search | 0 – before unspecified |