GHSA-hmqg-p8f8-3qrw

Suggest an improvement
Source
https://github.com/advisories/GHSA-hmqg-p8f8-3qrw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-hmqg-p8f8-3qrw/GHSA-hmqg-p8f8-3qrw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hmqg-p8f8-3qrw
Aliases
  • CVE-2022-25872
Published
2022-06-18T00:00:19Z
Modified
2023-11-08T04:08:50.215065Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2022-06-20T22:28:11Z",
    "github_reviewed": true,
    "nvd_published_at": "2022-06-17T20:15:00Z"
}
References

Affected packages

npm / fast-string-search

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.4.3