CVE-2024-31864: Apache Zeppelin remote code execution by adding malicious JDBC connection string
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.
Published Apr 9, 2024 · Updated Nov 5, 2025
Affected packages
org.apache.zeppelin:zeppelin-jdbc
- Ecosystem
- Maven
- Affected
- < 0.11.1
- Fixed in
- 0.11.1
- Check
mvn dependency:tree -Dincludes=org.apache.zeppelin:zeppelin-jdbc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to oscerd.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-31864
- https://github.com/apache/zeppelin/pull/4709
- https://lists.apache.org/thread/752qdk0rnkd9nqtornz734zwb7xdwcdb
- https://www.cve.org/CVERecord?id=CVE-2020-11974
- https://github.com/apache/zeppelin/commit/e65b5430e43c076c138a1f56e3f2aba1324118f2
- https://issues.apache.org/jira/browse/ZEPPELIN-5990
- https://github.com/advisories/GHSA-66j8-c83m-gj5f
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
