CVE-2021-25646

Summary

CVECVE-2021-25646
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-01-29 20:15:00 UTC
Updated2023-11-07 03:31:00 UTC
DescriptionApache 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.

Risk And Classification

Problem Types: NVD-CWE-noinfo

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Druid All All All All

References

ReferenceSourceLinkTags
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
[druid-commits] 20210204 [GitHub] [druid] jihoonson opened a new pull request #10854: [Backport] Fix CVE-2021-25646 lists.apache.org
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
Pony Mail! MLIST lists.apache.org
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
[announce] 20210129 Subject: [CVE-2021-25646] Apache Druid remote code execution vulnerability lists.apache.org
Pony Mail! MISC lists.apache.org Mailing List, Vendor Advisory
Pony Mail! MLIST lists.apache.org
[druid-commits] 20210205 [GitHub] [druid] jihoonson commented on pull request #10818: Fix CVE-2021-25646 lists.apache.org
[druid-dev] 20210331 Regarding the 0.21.0 release lists.apache.org
oss-security - CVE-2021-25646: Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. MLIST www.openwall.com Mailing List, Third Party Advisory
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
Pony Mail! MLIST lists.apache.org
[druid-commits] 20210205 [GitHub] [druid] jihoonson opened a new pull request #10854: [Backport] Fix CVE-2021-25646 lists.apache.org
[druid-commits] 20210204 [GitHub] [druid] jihoonson commented on pull request #10818: Fix CVE-2021-25646 lists.apache.org
[druid-dev] 20210129 Re: [druid-user] Re: CVE-2021-25646: Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. lists.apache.org
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
[druid-commits] 20210204 [GitHub] [druid] jihoonson merged pull request #10854: [Backport] Fix CVE-2021-25646 lists.apache.org
[druid-commits] 20210205 [GitHub] [druid] jihoonson merged pull request #10818: Fix CVE-2021-25646 lists.apache.org
[druid-commits] 20210205 [GitHub] [druid] jihoonson merged pull request #10854: [Backport] Fix CVE-2021-25646 lists.apache.org
Pony Mail! MLIST lists.apache.org
[druid-dev] 20210129 Re: CVE-2021-25646: Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. lists.apache.org
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
Apache Druid 0.20.0 Remote Command Execution ≈ Packet Storm MISC packetstormsecurity.com
Pony Mail! MLIST lists.apache.org
[druid-commits] 20210204 [GitHub] [druid] jihoonson merged pull request #10818: Fix CVE-2021-25646 lists.apache.org
[druid-commits] 20210204 [druid] branch 0.21.0 updated: Fix CVE-2021-25646 (#10818) (#10854) lists.apache.org
Pony Mail! MLIST lists.apache.org Mailing List, Patch, Vendor Advisory
Pony Mail! MLIST lists.apache.org Mailing List, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: This issue was discovered by Litch1 from the Security Team of Alibaba Cloud.

Legacy QID Mappings

  • 982234 Java (maven) Security Update for org.apache.druid:druid (GHSA-wrqf-rrrw-w3mg)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report