CVE-2024-49194 Databricks JDBC Driver Command Injection vulnerability
An attacker can achieve remote code execution by tricking a victim into using a crafted JDBC connection URL with a malicious krbJAASFile parameter.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-49194?
CVE-2024-49194 is a high-severity code injection vulnerability in n/a, published on 17 Dec 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Databricks JDBC Driver 2.x before 2.6.40 could potentially allow remote code execution (RCE) by triggering a JNDI injection via a JDBC URL parameter. The vulnerability is rooted in the improper handling of the krbJAASFile parameter. An attacker could potentially exploit this vulnerability to achieve Remote Code Execution in the context of the driver by tricking a victim into using a crafted connection URL that uses the property krbJAASFile.
Weakness: CWE-77
Which versions are affected by CVE-2024-49194?
2 open source packages ship an affected version, including com.databricks:databricks-jdbc.
| Package | Affected | Fixed in |
|---|---|---|
com.databricks:databricks-jdbc Maven | From 2.0 | 2.6.40 |
com.databricks:databricks-jdbc Maven | From 2.0 | 2.6.40 |
How do I fix CVE-2024-49194?
Upgrade com.databricks:databricks-jdbc to 2.6.40 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-49194 being exploited?
There is no known exploitation of CVE-2024-49194 in the wild and no public exploit code.
Sources
Also known as GHSA-jxw2-jvxf-5vrp.