Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-36749

MEDIUM 6.5EPSS 100%

Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended (incomplete fix of CVE-2021-26920)

Also known as GHSA-9p5g-vg43-mj5r

Mitigation

  • Upgrade org.apache.druid:druid-core to 0.22.0 or later.
  • Vendor workaround: Users can avoid the issue by upgrading to 0.22.0 or a higher version.
  • In an earlier version than 0.22.0, when the user application wants to restrict the access to the local file system, it should disallow all InputSources that can read local files, that is the Local, HTTP, and HDFS InputSources.

Who should check

  • Projects that depend on Maven package org.apache.druid:druid-core (< 0.22.0)
  • Anyone running Apache Software Foundation Apache Druid >= 0.21.1 and earlier, <= 0.21.1

Vulnerability facts

Affected
org.apache.druid:druid-core < 0.22.0
Fixed in
0.22.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
80.91% chance of exploitation in 30 days (percentile 100, 2026-11-26)
CWE
CWE-863
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Maven org.apache.druid:druid-core< 0.22.00.22.0osv
Apache Software Foundation Apache Druid>= 0.21.1 and earlier, <= 0.21.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-36749. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-36749.md
Affected: org.apache.druid:druid-core < 0.22.0
Fixed in: 0.22.0

Steps:
1. Search this machine and project for org.apache.druid:druid-core (Maven), Apache Software Foundation Apache Druid: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-36749 being exploited?

There is no confirmed exploitation: CVE-2021-36749 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 80.91% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-36749?

Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, login needed.

Which versions are affected by CVE-2021-36749?

org.apache.druid:druid-core < 0.22.0.

Is there a fix for CVE-2021-36749?

Yes. Fixed in 0.22.0. Upgrade org.apache.druid:druid-core to 0.22.0 or later. Vendor workaround: Users can avoid the issue by upgrading to 0.22.0 or a higher version. In an earlier version than 0.22.0, when the user application wants to restrict the access to the local file system, it should disallow all InputSources that can read local files, that is the Local, HTTP, and HDFS InputSources.

How do I check if I'm affected by CVE-2021-36749?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors