CVE-2021-26919

Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.

Published Mar 30, 2021 CVSS 3.1 · 8.8 High EPSS 35.2% KEV · Not listed
Description
Apache Druid allows users to read data from other database systems using JDBC. This functionality is to allow trusted users with the proper permissions to set up lookups or submit ingestion tasks. The MySQL JDBC driver supports certain properties, which, if left unmitigated, can allow an attacker to execute arbitrary code from a hacker-controlled malicious MySQL server within Druid server processes. This issue was addressed in Apache Druid 0.20.2

Remediation

Vendor Workaround

Users should upgrade to Druid 0.20.2 and enable new Druid configurations to mitigate vulnerable MySQL JDBC properties. Whenever possible, network access to cluster machines should be restricted to trusted hosts only. Ensure that users have the minimum set of Druid permissions necessary, and are not granted access to functionality that they do not require.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jj4f-p7vv-j4v9 Arbitrary code execution in Apache Druid
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 13, 2025, 4:27 PM
Reserved
Feb 9, 2021, 12:00 AM
Status
Modified
Published
Mar 30, 2021, 8:15 AM
Modified
Jun 17, 2026, 3:44 AM