CVE-2021-26919

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

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

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.
8.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 75.97% Top 5%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Druid
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-26919?
CVE-2021-26919 has been scored as a high severity vulnerability.
How to fix CVE-2021-26919?
As a workaround for remediating CVE-2021-26919: 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.
Is CVE-2021-26919 being actively exploited in the wild?
It is possible that CVE-2021-26919 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~76% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-26919?
CVE-2021-26919 affects Apache Software Foundation Apache Druid.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.