CVE-2022-23901 Denial of service in n/a

Critical 9.8 Published Updated

An attacker can cause a stack overflow and crash the application via infinite recursion in the re2c regex compiler library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-23901?

CVE-2022-23901 is a critical denial of service vulnerability in n/a, published on 29 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-787

Which versions are affected by CVE-2022-23901?

It affects 1 product.

Products include Re2c Re2c.

How do I fix CVE-2022-23901?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-23901 being exploited?

There is no known exploitation of CVE-2022-23901 in the wild and no public exploit code.

Sources

Also known as AZL-43948, AZL-45369, DEBIAN-CVE-2022-23901, GHSA-37h7-52mc-gc3m, UBUNTU-CVE-2022-23901.

Is CVE-2022-23901 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free