CVE-2018-8015 Apache ORC vulnerable to Uncontrolled Recursion

High 7.5 Published Updated

Attackers can cause denial of service by providing a malformed ORC file that triggers infinite recursion in the parser.

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

What is CVE-2018-8015?

CVE-2018-8015 is a high-severity denial of service vulnerability in Apache ORC, published on 18 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Apache ORC 1.0.0 to 1.4.3 a malformed ORC file can trigger an endlessly recursive function call in the C++ or Java parser. The impact of this bug is most likely denial-of-service against software that uses the ORC file parser. With the C++ parser, the stack overflow might possibly corrupt the stack.

Weakness: CWE-674

Which versions are affected by CVE-2018-8015?

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

PackageAffectedFixed in
org.apache.orc:orc MavenFrom 1.0.01.4.4
org.apache.orc:orc MavenFrom 1.0.01.4.4

Products include Apache Orc.

How do I fix CVE-2018-8015?

Upgrade org.apache.orc:orc to 1.4.4 or later.

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-8015 being exploited?

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

Sources

Also known as GHSA-mqmp-4mcp-vg8v.

Is CVE-2018-8015 in your software?

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

Check your SBOMs for free