CVE-2018-21232 Denial of service in n/a

Medium 5.5 Published Updated

An attacker can cause a denial of service via stack consumption in the re2c lexer generator due to uncontrolled recursion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-21232?

CVE-2018-21232 is a medium-severity denial of service vulnerability in n/a, published on 29 Apr 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

re2c before 2.0 has uncontrolled recursion that causes stack consumption in find_fixed_tags.

Weakness: CWE-674

Which versions are affected by CVE-2018-21232?

It affects 1 product.

Linux distribution packages (6)
re2c SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions1.0.3-150000.3.3.1
re2c SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.0.3-150000.3.3.1
re2c SUSE:Manager Proxy 4.2All versions1.0.3-150000.3.3.1
re2c SUSE:Manager Server 4.2All versions1.0.3-150000.3.3.1
re2c openSUSE:Leap 15.4All versions1.0.3-150000.3.3.1
re2c openSUSE:Leap 15.5All versions1.0.3-150000.3.3.1

Products include Re2c Re2c.

How do I fix CVE-2018-21232?

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-2018-21232 being exploited?

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

Sources

Also known as AZL-7337, DEBIAN-CVE-2018-21232, ECHO-4fc2-67bd-0a7a, GHSA-pgr8-gpgg-9j5m, MGASA-2021-0299, SUSE-SU-2023:3353-1 and 1 more.

Is CVE-2018-21232 in your software?

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

Check your SBOMs for free