Vulnerability · Published Mar 30, 2021 · Assigned by apache
CVE-2021-26919Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.
High 8.8
In plain English
A high-severity security flaw in Apache Druid from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 35.2% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.druid:druid | 0.20.2 | GHSA-jj4f-p7vv-j4v9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Druid | Apache Druid – through 0.20.1 |
References
- https://lists.apache.org/thread.html/rd87451fce34df54796e66321c40d743a68fb4553d72e7f6f0bc62ebd%40%3Cdev.druid.apache.org%3E x_refsource_MISC
- [druid-dev] 20210331 Regarding the 0.21.0 release mailing-list, x_refsource_MLIST
- [druid-dev] 20210401 Re: Subject: [CVE-2021-26919] Authenticated users can execute arbitrary code from malicious MySQL database systems mailing-list, x_refsource_MLIST
- [druid-commits] 20210401 [GitHub] [druid] jihoonson merged pull request #11047: Allow list for JDBC connection properties to address CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-dev] 20210405 Regarding the CVSS score for CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-dev] 20210405 Re: Regarding the CVSS score for CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-commits] 20210412 [GitHub] [druid] jihoonson opened a new pull request #11100: [Backport] Allow list for JDBC connection properties to address CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-commits] 20210412 [GitHub] [druid] jihoonson merged pull request #11100: [Backport] Allow list for JDBC connection properties to address CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-dev] 20210414 Re: Regarding the CVSS score for CVE-2021-26919 mailing-list, x_refsource_MLIST