Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS05cDVnLXZnNDMtbWo1cs0V_g

Druid ingestion system Authenticated users can read data from other sources than intended

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. This issue was previously mentioned as being fixed in 0.21.0 as per CVE-2021-26920 but was not fixed in 0.21.0 or 0.21.1.

Permalink: https://github.com/advisories/GHSA-9p5g-vg43-mj5r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05cDVnLXZnNDMtbWo1cs0V_g
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 7 months ago


CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Identifiers: GHSA-9p5g-vg43-mj5r, CVE-2021-36749
References: Blast Radius: 15.1

Affected Packages

maven:org.apache.druid:druid-core
Dependent packages: 81
Dependent repositories: 213
Downloads:
Affected Version Ranges: < 0.22.0
Fixed in: 0.22.0
All affected versions: 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.20.1, 0.20.2, 0.21.0, 0.21.1
All unaffected versions: 0.22.0, 0.22.1, 0.23.0, 24.0.0, 24.0.1, 24.0.2, 25.0.0