CVE-2021-26920

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

Published Jul 2, 2021 CVSS 3.1 · 6.5 Medium EPSS 9.5% KEV · Not listed
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.

Remediation

Vendor Workaround

Users can avoid the issue by upgrading to 0.21.0 or a higher version. In an earlier version than 0.21.0, when the user application wants to restrict the access to the local file system, it should disallow all InputSources that can read local files, that is the Local, HTTP, and HDFS InputSources.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1614 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.
Github GHSA Github GHSA GHSA-793h-6f7r-6qvm Druid ingestion system Authenticated users can read data from other sources than intended
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 3, 2024, 8:33 PM
Reserved
Feb 9, 2021, 12:00 AM
Status
Modified
Published
Jul 2, 2021, 8:15 AM
Modified
Jun 17, 2026, 3:44 AM
Severity
Moderate
Public date
Jul 2, 2021, 12:00 AM