Security mailing lists by PureSourceCode

CVE-2021-25646

HIGH 8.8CVSS 3.1

Code injection in Apache Druid

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.

Published
29 Jan 2021
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-732
Also known as
GHSA-wrqf-rrrw-w3mg
Sources
NVDJSONOSV GHSA-wrqf-rrrw-w3mgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache druid
cpe:2.3:a:apache:druid:*:*:*:*:*:*:*:*
<= 0.20.0
OSV Maven org.apache.druid:druid < 0.20.1 0.20.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 29 Jan 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.