WaratekVRT Sign in

CVE-2021-36749 Druid

Affected softwareDruid
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in0.22.0
WeaknessIncorrect authorization (CWE-863)
Published24 Sep 2021
Updated17 Jun 2026

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.

CWE-668

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · honeypot sightings · 4 exploits · earliest 2022-03-20.
  • CISA Vulnrichment no assessment published
  • Indexed PoC 5 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2021-05-22.
  • EPSS 81% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.6% of all scored CVEs.

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2021-36749 in VulnCheck (free account).

EvidenceSourceDetailDate
Honeypot sighting SANS DShield sensors Exploitation attempts seen on 1 day 2022-03-20
Reported exploitation unit42.paloaltonetworks.com /network-security-trends-cross-site-scripting 2022-05-31
Exploit reference VulnCheck XDB e4e9ac13414a Exploit type: infoleak 2021-05-22
Exploit reference VulnCheck XDB d9494fbeed7f Exploit type: infoleak 2021-10-14
Exploit reference VulnCheck XDB 65e8166e235d Exploit type: infoleak 2021-12-12
Exploit reference VulnCheck XDB 9f4e61cec1a9 Exploit type: info-leak 2021-12-12

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC 漏洞POC、EXP合集,持续更新。Apache Druid-任意文件读取(CVE-2021-36749)、ConfluenceRCE(CVE-2021-26084)、ZeroShell防火墙RCE(CVE-2019-12725)、ApacheSolr任意文件读取、蓝凌OA任意文件读取、phpStudyRCE、ShowDoc任意文件上传、原创先锋后台未授权、Kyan账号密码泄露、TerraMasterTos任意文件读取、TamronOS-IPTV系统RCE、Wayos防火墙账号密码泄露 177 2021-05-22
GitHub PoC Apache Druid 任意文件读取 33 2021-10-14
GitHub PoC CVE-2021-36749 Docker 漏洞复现 1 2021-11-21
GitHub PoC Apache Druid LoadData 任意文件读取漏洞 / Code By:Jun_sheng 2021-12-12
Nuclei Apache Druid - Local File Inclusion

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.druid:druid-core), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.druid:druid-core 0 0.22.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache druid generic < 0.22.0
osv org.apache.druid druid-core generic < 0.22.0

References

URLTags
https://github.com/advisories/GHSA-793h-6f7r-6qvm ADVISORY
https://lists.apache.org/thread.html/r304dfe56a5dfe1b2d9166b24d2c74ad1c6730338b20aef77a00ed2be@%3Cannounce.apache.org%3E WEB
https://lists.apache.org/thread.html/rc9400a70d0ec5cdb8a3486fc5ddb0b5282961c0b63e764abfbcb9f5d%40%3Cdev.druid.apache.org%3E WEB
https://lists.apache.org/thread.html/r304dfe56a5dfe1b2d9166b24d2c74ad1c6730338b20aef77a00ed2be%40%3Cannounce.apache.org%3E

Timeline

Published2021-09-24By the CVE Program.
VulnCheck KEV: earliest evidence2022-03-20Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
VulnCheck KEV: latest evidence2022-05-31Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.
NVD record modified2026-06-17NVD's own last-modified date for this record.