CVE-2021-25646

published 29 Jan 2021 · updated 13 Feb 2025

Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.

7.0HighEPSS 99%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 99%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=0.20.0 and earlier <=0.20.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-25646 severity on Zeptric[![CVE-2021-25646](https://zeptric.io/badge/cve/CVE-2021-25646.svg)](https://zeptric.io/cve/CVE-2021-25646)