Vulnerability in Apache Druid
CVE-2021-26920
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.095, 95.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Druid
- Apache Software Foundation Druid — versions Apache Druid
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 10 other repositories (ARPSyndicate/cvemon, dorkerdevil/CVE-2021-36749, mamba-4-ever/CVE-2021-36750, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread.html/r29e45561343cc5cf7d3290ee0b0e94e565faab19c20d022df… (Mailing List, Vendor Advisory)
- [oss-security] 20210702 CVE-2021-26920: Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (mailing-list, Mailing List, Third Party Advisory)
- [announce] 20210701 CVE-2021-26920: Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (mailing-list)
- [druid-dev] 20210923 CVE-2021-36749: Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (incomplete fix of CVE-2021-26920) (mailing-list)
- [oss-security] 20210923 CVE-2021-36749: Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (incomplete fix of CVE-2021-26920) (mailing-list, Mailing List, Third Party Advisory)
- [announce] 20210923 CVE-2021-36749: Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (incomplete fix of CVE-2021-26920) (mailing-list)