MODERATE 6.5

CVE-2021-36749

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

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. 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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.druid » druid-core
< 0.22.0
0.22.0

Blast radius

1affected artifacts
1,336affected versions
43dependent artifacts (est.)
12,535dependent versions

25% of the dependent artifacts (11) still pull an affected version in their latest release.

DepthDependent versions
Direct
10,063
2 hops
1,123
3 hops
1,310
4 hops
39

Most used dependents

Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.