Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.druid/druid
  4. ›
  5. CVE-2024-45537

CVE-2024-45537: Apache Druid: Users can provide MySQL JDBC properties not on allow list

September 17, 2024

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

  • github.com/advisories/GHSA-jh66-3545-vpm7
  • github.com/apache/druid
  • github.com/apache/druid/releases/tag/druid-30.0.1
  • lists.apache.org/thread/2ovx1t77y6tlkhk5b42clp4vwo4c8cjv
  • nvd.nist.gov/vuln/detail/CVE-2024-45537

Code Behaviors & Features

Detect and mitigate CVE-2024-45537 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 30.0.1

Fixed versions

  • 30.0.1

Solution

Upgrade to version 30.0.1 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.apache.druid/druid/CVE-2024-45537.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.