CVE-2021-26920
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.druid » druid-core | < 0.21.0 | 0.21.0 |
| org.mvnpm » fast-xml-parservia npm fast-xml-parser | < 4.1.2 | 4.1.2 |
| org.webjars.npm » fast-xml-parservia npm fast-xml-parser | < 4.1.2 | 4.1.2 |
Blast radius
2% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 10,042 |
| 2 hops | 996 |
| 3 hops | 837 |
| 4 hops | 39 |
Most used dependents
- org.apache.druid » druid-processing102 usages
- org.apache.druid » druid-server80 usages
- org.apache.druid » druid-sql25 usages
- org.apache.druid » druid-indexing-service24 usages
- org.apache.druid » druid-services15 usages
- org.apache.hive » hive-it-util12 usages
- org.apache.druid » druid-indexing-hadoop10 usages
- org.apache.druid » druid-hll9 usages
- com.yahoo.maha » maha-core9 usages
- org.apache.druid » druid-aws-common8 usages
- org.apache.hive » hive-it-unit6 usages
- org.mvnpm.at.aws-sdk » client-sts6 usages
- com.yahoo.bard » fili-core5 usages
- com.yahoo.bard » sample-applications3 usages
- org.apache.hive » hive-it-druid3 usages
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.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2021-26920 | nvd.nist.gov |
| Web | thread.html/r29e45561343cc5cf7d3290ee0b0e94e565faab19c20d022df9b5e29c@<dev.druid.apache.or ... | lists.apache.org |
| Web | thread.html/r304dfe56a5dfe1b2d9166b24d2c74ad1c6730338b20aef77a00ed2be@<announce.apache.org ... | lists.apache.org |
| Web | thread.html/r61aab724cf97d80da7f02d50e9af6de5c7c40dd92dab7518746fbaa2@<announce.apache.org ... | lists.apache.org |
| Web | thread.html/rc9400a70d0ec5cdb8a3486fc5ddb0b5282961c0b63e764abfbcb9f5d@<dev.druid.apache.or ... | lists.apache.org |
| Web | lists/oss-security/2021/07/02/1 | openwall.com |
| Web | lists/oss-security/2021/09/24/1 | openwall.com |
