{"document":{"aggregate_severity":{"namespace":"https://access.redhat.com/security/updates/classification/","text":"Moderate"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright © Red Hat, Inc. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"legal_disclaimer","text":"This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.","title":"Terms of Use"}],"publisher":{"category":"vendor","contact_details":"https://access.redhat.com/security/team/contact/","issuing_authority":"Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.","name":"Red Hat Product Security","namespace":"https://www.redhat.com"},"references":[{"category":"self","summary":"Canonical URL","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-25646.json"}],"title":"druid: Authenticated javascript code injection","tracking":{"current_release_date":"2025-11-21T16:07:10+00:00","generator":{"date":"2025-11-21T16:07:10+00:00","engine":{"name":"Red Hat SDEngine","version":"4.6.12"}},"id":"CVE-2021-25646","initial_release_date":"2021-01-29T00:00:00+00:00","revision_history":[{"date":"2021-01-29T00:00:00+00:00","number":"1","summary":"Initial version"},{"date":"2021-10-28T08:43:22+00:00","number":"2","summary":"Current version"},{"date":"2025-11-21T16:07:10+00:00","number":"3","summary":"Last generated version"}],"status":"final","version":"3"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"Red Hat OpenShift Container Platform 4","product":{"name":"Red Hat OpenShift Container Platform 4","product_id":"red_hat_openshift_container_platform_4","product_identification_helper":{"cpe":"cpe:/a:redhat:openshift:4"}}}],"category":"product_family","name":"Red Hat OpenShift Container Platform 4"},{"category":"product_version","name":"openshift4/ose-metering-hive","product":{"name":"openshift4/ose-metering-hive","product_id":"openshift4/ose-metering-hive","product_identification_helper":{"purl":"pkg:oci/ose-metering-hive?repository_url=registry.redhat.io/openshift4/ose-metering-hive"}}}],"category":"vendor","name":"Red Hat"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"openshift4/ose-metering-hive as a component of Red Hat OpenShift Container Platform 4","product_id":"red_hat_openshift_container_platform_4:openshift4/ose-metering-hive"},"product_reference":"openshift4/ose-metering-hive","relates_to_product_reference":"red_hat_openshift_container_platform_4"}]},"vulnerabilities":[{"cve":"CVE-2021-25646","cwe":{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')"},"discovery_date":"2021-01-29T00:00:00+00:00","ids":[{"system_name":"Red Hat Bugzilla ID","text":"1923092"}],"notes":[{"category":"description","text":"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.","title":"Vulnerability description"},{"category":"summary","text":"druid: Authenticated javascript code injection","title":"Vulnerability summary"},{"category":"general","text":"The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.","title":"CVSS score applicability"}],"product_status":{"known_affected":["red_hat_openshift_container_platform_4:openshift4/ose-metering-hive"]},"references":[{"category":"self","summary":"Canonical URL","url":"https://access.redhat.com/security/cve/CVE-2021-25646"},{"category":"external","summary":"RHBZ#1923092","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1923092"},{"category":"external","summary":"https://www.cve.org/CVERecord?id=CVE-2021-25646","url":"https://www.cve.org/CVERecord?id=CVE-2021-25646"},{"category":"external","summary":"https://nvd.nist.gov/vuln/detail/CVE-2021-25646","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25646"},{"category":"external","summary":"https://lists.apache.org/thread.html/rfda8a3aa6ac06a80c5cbfdeae0fc85f88a5984e32ea05e6dda46f866%40%3Cdev.druid.apache.org%3E","url":"https://lists.apache.org/thread.html/rfda8a3aa6ac06a80c5cbfdeae0fc85f88a5984e32ea05e6dda46f866%40%3Cdev.druid.apache.org%3E"}],"release_date":"2021-01-29T00:00:00+00:00","remediations":[{"category":"no_fix_planned","details":"Will not fix","product_ids":["red_hat_openshift_container_platform_4:openshift4/ose-metering-hive"]}],"scores":[{"cvss_v3":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["red_hat_openshift_container_platform_4:openshift4/ose-metering-hive"]}],"threats":[{"category":"impact","details":"Moderate","product_ids":["red_hat_openshift_container_platform_4:openshift4/ose-metering-hive"]}],"title":"druid: Authenticated javascript code injection"}]}