CVE-2022-22138
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-22138 is a vulnerability affecting the fast-string-search npm package, discovered and disclosed on February 3, 2022. This vulnerability impacts all versions of the package, which is a module designed to search substrings in a string using N-API and boyer-moore-magiclen (Snyk).

Technical details

The vulnerability is classified as a Denial of Service (DoS) issue with a CVSS v3.1 score of 7.5 (High). The vulnerability occurs when computations are incorrect for non-string inputs, which can cause V8 to attempt reading from non-permitted locations and result in a segmentation fault. The attack vector is network-based, with low attack complexity, requiring no privileges or user interaction, and the scope is unchanged (Snyk).

Impact

When exploited, this vulnerability can lead to a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component. The loss can be either sustained while the attack continues or persistent even after the attack has completed. While there is no loss of confidentiality or integrity, the availability impact is rated as High (Snyk).

Mitigation and workarounds

Currently, there is no fixed version available for the fast-string-search package (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management