CVE-2020-23306

There is a stack-overflow at ecma-regexp-object.c:535 in ecma_regexp_match in JerryScript 2.2.0

published June 10, 2021

CVSS
—
EPSS
1%
Percentile
70.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack overflow lurks in JerryScript 2.2.0, hiding away in ecma_regexp_match! Think of it like a crowded elevator that suddenly stops; too many people pushing the buttons can cause it to break down completely. In this case, the stack overflow can lead to crashes when too much input is processed at once. This vulnerability could cause your application to crash unexpectedly, leaving users in the digital lurch. While it may not lead to immediate data loss or exposure, the instability it introduces can affect user experience and application reliability.

Put simply

Think of it like a crowded elevator that suddenly stops; too many people pushing the buttons can cause it to break down completely. In this case, the stack overflow can lead to crashes when too much input is processed at once. This stack overflow vulnerability occurs in the handling of regular expressions within JerryScript, leading to potential crashes when excessive input is processed. If the stack limit is exceeded, it could trigger a crash in the script execution.

What to do

This vulnerability could cause your application to crash unexpectedly, leaving users in the digital lurch. While it may not lead to immediate data loss or exposure, the instability it introduces can affect user experience and application reliability. To mitigate this, update your JerryScript to the latest version where this issue is addressed. Additionally, consider implementing input validation to limit the data processed by regular expressions and ensure that you have adequate stack limits set. You've got this! With these steps, you’ll keep your applications running smoothly and securely. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01313 · 70.5th percentile
Published
2021-06-10T22:12Z
EPSS history
Timeline
  • 10 JUN 22:12Z
    There is a stack-overflow at ecma-regexp-object.c:535 in ecma_regexp_match in JerryScript 2.2.0
    cvelistv5