CVE-2023-51079 mvel2 TimeOut error exists in the ParseTools.subCompileExpression method

Medium 5.3 Published Updated

An attacker can cause excessive CPU consumption in the MVEL library via crafted expressions, leading to a denial of service.

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

What is CVE-2023-51079?

CVE-2023-51079 is a medium-severity denial of service vulnerability in n/a, published on 27 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A long execution time can occur in the ParseTools.subCompileExpression method in MVEL 2.5.0.Final because of many Java class lookups. NOTE: the vendor disputes this because "the only thing that you could expect is that the parser will take a crazy amount of time to complete its task."

Which versions are affected by CVE-2023-51079?

2 open source packages ship an affected version, including org.mvel:mvel2. It affects 1 product.

PackageAffectedFixed in
org.mvel:mvel2 MavenAll versionsNone
org.mvel:mvel2 MavenAll versionsNone

Products include Mvel Mvel.

How do I fix CVE-2023-51079?

No fix has been published for CVE-2023-51079 yet. Limit exposure of the affected software until one is available.

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-2023-51079 being exploited?

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

Sources

Also known as GHSA-h63j-xqx6-w58r.

Is CVE-2023-51079 in your software?

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

Check your SBOMs for free