CVE-2024-31864 Apache Zeppelin: Remote code execution by adding malicious JDBC connection string

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
org.apache.zeppelin:zeppelin-jdbc MavenAll versions0.11.1
org.apache.zeppelin:zeppelin-jdbc MavenAll versions0.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.

Sources

Also known as GHSA-66j8-c83m-gj5f.

Is CVE-2024-31864 in your software?

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

Check your SBOMs for free