CVE-2024-31864 Apache Zeppelin: Remote code execution by adding malicious JDBC connection string
Attackers can execute arbitrary code by injecting malicious JDBC connection strings in Apache Zeppelin, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-31864?
CVE-2024-31864 is a critical code injection vulnerability in Apache Zeppelin, published on 9 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Zeppelin.
The attacker can inject sensitive configuration or malicious code when connecting MySQL database via JDBC driver. This issue affects Apache Zeppelin: before 0.11.1.
Users are recommended to upgrade to version 0.11.1, which fixes the issue.
Weakness: CWE-94
Which versions are affected by CVE-2024-31864?
2 open source packages ship an affected version, including org.apache.zeppelin:zeppelin-jdbc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.zeppelin:zeppelin-jdbc Maven | All versions | 0.11.1 |
org.apache.zeppelin:zeppelin-jdbc Maven | All versions | 0.11.1 |
Products include Apache Zeppelin.
How do I fix CVE-2024-31864?
Upgrade org.apache.zeppelin:zeppelin-jdbc to 0.11.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-31864 being exploited?
There is no known exploitation of CVE-2024-31864 in the wild and no public exploit code.
Other vulnerabilities in Apache Zeppelin
- CVE-2024-31866 Apache Zeppelin: Interpreter download command does not escape malicious code injection
- CVE-2019-10095 bash command injection in spark interpreter
- CVE-2018-1317 Improper Authentication in Apache Zeppelin
- CVE-2017-12619 Session Fixation in Apache Zeppelin
- CVE-2024-51775 Apache Zeppelin: Command Injection via CSWSH
Sources
Also known as GHSA-66j8-c83m-gj5f.