CVE-2024-45537 Apache Druid: Users can provide MySQL JDBC properties not on allow list
Trusted users can bypass JDBC property restrictions in Apache Druid to read data from other database systems via crafted MySQL connection strings.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-45537?
CVE-2024-45537 is a medium-severity vulnerability in Apache Druid, published on 17 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Apache Druid allows users with certain permissions to read data from other database systems using JDBC. This functionality allows trusted users to set up Druid lookups or run ingestion tasks. Druid also allows administrators to configure a list of allowed properties that users are able to provide for their JDBC connections. By default, this allowed properties list restricts users to TLS-related properties only. However, when configuration a MySQL JDBC connection, users can use a particularly-crafted JDBC connection string to provide properties that are not on this allow list.
Users without the permission to configure JDBC connections are not able to exploit this vulnerability. CVE-2021-26919 describes a similar vulnerability which was partially addressed in Apache Druid 0.20.2.
This issue is fixed in Apache Druid 30.0.1.
Weakness: CWE-20
Which versions are affected by CVE-2024-45537?
2 open source packages ship an affected version, including org.apache.druid:druid. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.druid:druid Maven | All versions | 30.0.1 |
org.apache.druid:druid Maven | All versions | 30.0.1 |
Products include Apache Druid.
How do I fix CVE-2024-45537?
Upgrade org.apache.druid:druid to 30.0.1 or later.
Is CVE-2024-45537 being exploited?
There is no known exploitation of CVE-2024-45537 in the wild and no public exploit code.
Other vulnerabilities in Apache Druid
- CVE-2026-23906 Apache Druid: Authentication Bypass via LDAP Anonymous Bind
- CVE-2025-59390 Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly.
- CVE-2021-26919 Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.
- CVE-2021-25646 Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.
- CVE-2021-36749 Druid ingestion system Authenticated users can read data from other sources than intended
Sources
Also known as GHSA-jh66-3545-vpm7.