CVE-2021-41752

Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due to an unbounded recursive call to the…

published April 5, 2022

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

⚠️ A rogue recursive call is lurking here! This stack overflow vulnerability in JerryScript could overflow your program's memory — just like a restaurant running out of plates when too many diners arrive at once! 🍽️ Picture a restaurant where the chef keeps preparing meals for an endless stream of customers without stopping to check if there’s enough room on the serving counter — that’s how this vulnerable recursive call can lead to a stack overflow and crash your application. If exploited, this vulnerability could cause your application to crash, leaving users frustrated and potentially creating opportunities for further exploits. While it’s not known to be actively exploited, the possibility of unintended behavior is like an uninvited guest at the dinner party—better to keep an eye out!

Put simply

Picture a restaurant where the chef keeps preparing meals for an endless stream of customers without stopping to check if there’s enough room on the serving counter — that’s how this vulnerable recursive call can lead to a stack overflow and crash your application. This stack overflow vulnerability arises due to an unbounded recursive call in the new opt() function, allowing the call stack to grow uncontrollably and eventually crash the application when it exceeds the available memory.

What to do

If exploited, this vulnerability could cause your application to crash, leaving users frustrated and potentially creating opportunities for further exploits. While it’s not known to be actively exploited, the possibility of unintended behavior is like an uninvited guest at the dinner party—better to keep an eye out! To mitigate this issue, update JerryScript to a version after the commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2. Regularly review your code to limit recursion depth and implement safeguards against unbounded calls in your code. You've got this! Following these steps will help keep your application running smoothly and securely. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01214 · 68.3th percentile
Published
2022-04-05T15:37Z
EPSS history
Timeline
  • 05 APR 15:37Z
    Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due to an unbounded recursive call to the…
    cvelistv5