CVE-2021-25646

High

Description

Apache Druid includes the ability to execute user-provided JavaScript code embedded in various types of requests. This functionality is intended for use in high-trust environments, and is disabled by default. However, in Druid 0.20.0 and earlier, it is possible for an authenticated user to send a specially-crafted request that forces Druid to run user-provided JavaScript code for that request, regardless of server configuration. This can be leveraged to execute code on the target machine with the privileges of the Druid server process.

SeverityHigh
CVSS8.8
Exploit probability—
ProductApache Druid
PublishedJan 29, 2021
First seenJan 29, 2021

How to fix

Update
  • org.apache.druid:druid0.20.1 or later

Affected products

ProductAffected versionsFixed in
apache druidv ≤ 0.20.0—
org.apache.druid:druidMavenv < 0.20.10.20.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.