CVE-2024-27088
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-27088 affects es5-ext, a package containing ECMAScript 5 extensions. The vulnerability was discovered in February 2024 and affects versions from 0.10.0 up to (excluding) 0.10.63. The issue involves a Regular Expression Denial of Service (ReDoS) vulnerability when passing functions with very long names or complex default argument names into function#copy or function#toStringTokens methods (GitHub Advisory).

Technical details

The vulnerability stems from problematic regex implementation in the function parsing mechanism that is susceptible to excessive backtracking. The regex pattern /^\sfunction\s([\0-')-\uffff]+)\s(([\0-(-\uffff]))\s*{/ can be exploited when there is an imbalance in parentheses, leading to significant CPU load and processing time increases. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM by NVD with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause the script to stall, potentially leading to a denial of service condition. The impact is primarily on availability, with no direct effect on confidentiality or integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.10.63 through commits 3551cdd and a52e957, which implement a more secure approach to function parsing. For users unable to upgrade immediately, the only workaround is to refrain from using the affected utilities function#copy and function#toStringTokens (GitHub Advisory).

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-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

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