Vulnerability · Published Jul 2, 2021 · Assigned by apache

CVE-2021-26920Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended

Medium 6.5

In plain English

A medium-severity security flaw in Apache Druid from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 9.5% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)9.5%top 4.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

In the Druid ingestion system, the InputSource is used for reading data from a certain data source. However, the HTTP InputSource allows authenticated users to read data from other sources than intended, such as the local file system, with the privileges of the Druid server process. This is not an elevation of privilege when users access Druid directly, since Druid also provides the Local InputSource, which allows the same level of access. But it is problematic when users interact with Druid indirectly through an application that allows users to specify the HTTP InputSource, but not the Local InputSource. In this case, users could bypass the application-level restriction by passing a file URL to the HTTP InputSource.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.druid:druid-core0.21.0GHSA-793h-6f7r-6qvm
npmfast-xml-parser4.1.2GHSA-x3cc-x39p-42qx

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Druid Apache Druid – through 0.20.2

References