Bug 2007715 (CVE-2021-36749) - CVE-2021-36749 druid: HTTP InputSource allows authenticated users to read data from other sources (incomplete fix of CVE-2021-26920)
Summary: CVE-2021-36749 druid: HTTP InputSource allows authenticated users to read dat...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-36749
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2007716
TreeView+ depends on / blocked
 
Reported: 2021-09-24 16:57 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-08 20:08 UTC (History)
10 users (show)

Fixed In Version: druid 0.22.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in druid. 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. The highest threat from this vulnerability is to data confidentiality. This vulnerability exists due to incomplete fix of CVE-2021-26920.
Clone Of:
Environment:
Last Closed: 2021-10-08 20:08:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-09-24 16:57:09 UTC
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.

References:
https://www.openwall.com/lists/oss-security/2021/09/24/1
https://lists.apache.org/thread.html/r304dfe56a5dfe1b2d9166b24d2c74ad1c6730338b20aef77a00ed2be@%3Cannounce.apache.org%3E

Comment 1 Przemyslaw Roguski 2021-10-08 15:41:41 UTC
Upstream fix:
https://github.com/apache/druid/commit/9946306d4b2c16a7fc8bac97c9f4815ed4b46570

Comment 2 Product Security DevOps Team 2021-10-08 20:08:15 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-36749


Note You need to log in before you can comment on or make changes to this bug.