CVE-2022-26112 Apache Pinot has Groovy Function support enabled by default
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.pinot:pinot Maven | All versions | 0.11.0 |
org.apache.pinot:pinot Maven | All versions | 0.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.
Other vulnerabilities in Apache Pinot
- CVE-2024-56325 Apache Pinot: Authentication bypass issue. If the path does not contain / and contain . authentication is not required
- CVE-2024-39676 Apache Pinot: Unauthorized endpoint exposed sensitive information
- CVE-2022-23974 Pinot segment push endpoint has a vulnerability in unprotected environments
Sources
Also known as GHSA-qj9p-jvmw-82rh.