Advisory

GHSA-hmqg-p8f8-3qrw

Also known as: 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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-18 00:00 UTC
Modified
2026-03-16 03:12 UTC

Affected packages and fixes

fast-string-search

npm · All systems

Affected

  • introduced 0, last affected 1.4.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences