CVE-2022-23901

A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc

published March 29, 2022

CVSS
—
EPSS
2%
Percentile
75.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack overflow lurks in re2c 2.2 due to infinite recursion! This could cause processes to go haywire. 🔥 Think of it like a runaway train stuck in a loop, endlessly circling the station without ever letting passengers off. The longer it runs, the more resources it gobbles up! In this case, an attacker could potentially cause a denial of service by overwhelming the system with recursive calls, leading to crashes that stop everything in its tracks. This means your applications could become sluggish or completely unresponsive!

Put simply

Think of it like a runaway train stuck in a loop, endlessly circling the station without ever letting passengers off. The longer it runs, the more resources it gobbles up! The vulnerability arises from specific code in src/dfa/dead_rules.cc, where infinite recursion can occur, leading to a stack overflow and subsequent application crash.

What to do

In this case, an attacker could potentially cause a denial of service by overwhelming the system with recursive calls, leading to crashes that stop everything in its tracks. This means your applications could become sluggish or completely unresponsive! To protect against this, ensure that you're running a patched version of re2c. Review your code for any potential infinite recursion issues and consider implementing limits on recursive calls in your applications. You've got this! With a few updates and checks, you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01588 · 75.4th percentile
Published
2022-03-29T11:12Z
EPSS history
Timeline
  • 29 MAR 11:12Z
    A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc
    cvelistv5