CVE-2022-26112 Apache Pinot has Groovy Function support enabled by default

Critical 9.8 Published Updated

Attackers can execute arbitrary code via Groovy functions in Apache Pinot query and ingestion layers if security features are disabled.

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-26112?

CVE-2022-26112 is a critical code injection vulnerability in Apache Pinot, published on 23 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In 0.10.0 or older versions of Apache Pinot, Pinot query endpoint and realtime ingestion layer has a vulnerability in unprotected environments due to a groovy function support. In order to avoid this, we disabled the groovy function support by default from Pinot release 0.11.0. See https://docs.pinot.apache.org/basics/releases/0.11.0

Weakness: CWE-94

Which versions are affected by CVE-2022-26112?

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

PackageAffectedFixed in
org.apache.pinot:pinot MavenAll versions0.11.0
org.apache.pinot:pinot MavenAll versions0.11.0

Products include Apache Pinot.

How do I fix CVE-2022-26112?

Upgrade org.apache.pinot:pinot to 0.11.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-26112 being exploited?

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

Sources

Also known as GHSA-qj9p-jvmw-82rh.

Is CVE-2022-26112 in your software?

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

Check your SBOMs for free