Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for fast-string-search
.
fast-string-search is a module that can search substrings in a string by using N-API and boyer-moore-magiclen.
Affected versions of this package 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.
###PoC
const fss = require('fast-string-search');
fss.indexOf("My password is joke 9", "is");
let res = fss.indexOf(1, "9");
// res will contain the index of "9" from the previous input and not the current one.
console.log(res)