Headline
GHSA-jh66-3545-vpm7: Apache Druid: Users can provide MySQL JDBC properties not on allow list
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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-45537
Apache Druid: Users can provide MySQL JDBC properties not on allow list
Low severity GitHub Reviewed Published Sep 17, 2024 to the GitHub Advisory Database • Updated Sep 17, 2024
Package
maven org.apache.druid:druid (Maven)
Affected versions
< 30.0.1
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45537
- https://lists.apache.org/thread/2ovx1t77y6tlkhk5b42clp4vwo4c8cjv
- https://github.com/apache/druid/releases/tag/druid-30.0.1
Published to the GitHub Advisory Database
Sep 17, 2024
Last updated
Sep 17, 2024