{"id":"CVE-2021-36749","published":"2021-09-24T09:30:11Z","modified":"2024-08-04T01:01:59Z","title":"Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended…","vendor":"Apache Software Foundation","product":"Apache Druid","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Druid","versions":[">= 0.21.1 and earlier, <= 0.21.1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Apache Druid's HTTP InputSource, used during data ingestion, can be abused to read files from sources other than intended, such as the local file system, with the privileges of the Druid server process. An attacker who is an authenticated user can exploit this, particularly when interacting with Druid through an application that permits the HTTP InputSource but blocks the Local InputSource, by passing a file URL to bypass that restriction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:27Z"},"cvss":null,"epss":{"score":0.80907,"percentile":0.99628,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-03-20","exploitedFirstSeen":"2022-05-31","ransomware":false,"evidence":[{"url":"https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/","date":"2022-05-31"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/rc9400a70d0ec5cdb8a3486fc5ddb0b5282961c0b63e764abfbcb9f5d%40%3Cdev.druid.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r304dfe56a5dfe1b2d9166b24d2c74ad1c6730338b20aef77a00ed2be%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.druid:druid-core","vulnerableRanges":["<0.22.0"],"patched":["0.22.0"],"from":["GHSA-9p5g-vg43-mj5r"],"provenance":"source"}],"advisories":[{"id":"GHSA-9p5g-vg43-mj5r","url":"https://github.com/advisories/GHSA-9p5g-vg43-mj5r","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.druid:druid-core","vulnerableRanges":["<0.22.0"],"patched":["0.22.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-2026","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2026","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":4,"skipped":0,"earliest":"2021-05-22","earliestUrl":"https://github.com/sma11new/PocList","repos":[{"name":"sma11new/PocList","url":"https://github.com/sma11new/PocList","stars":178,"created":"2021-05-22"},{"name":"BrucessKING/CVE-2021-36749","url":"https://github.com/BrucessKING/CVE-2021-36749","stars":33,"created":"2021-10-14"},{"name":"zwlsix/apache_druid_CVE-2021-36749","url":"https://github.com/zwlsix/apache_druid_CVE-2021-36749","stars":1,"created":"2021-11-21"},{"name":"Jun-5heng/CVE-2021-36749","url":"https://github.com/Jun-5heng/CVE-2021-36749","stars":0,"created":"2021-12-12"}]},"nuclei":[{"id":"CVE-2021-36749","name":"Apache Druid - Local File Inclusion","severity":"medium","path":"http/cves/2021/CVE-2021-36749.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-36749.yaml"}],"first":{"date":"2021-05-22","source":"PoC-in-GitHub","url":"https://github.com/sma11new/PocList"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-05-22","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/sma11new/PocList","provenance":"source"},{"date":"2021-09-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-36749","provenance":"source"},{"date":"2022-05-31","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":59.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1684 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9963"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"4 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-apache-druid-cve-2021-26920","parents":[{"from":"CVE-2021-26920","to":"CVE-2021-36749","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-9p5g-vg43-mj5r","via":"reference","url":"https://github.com/advisories/GHSA-793h-6f7r-6qvm"},{"kind":"similar","provenance":"machine","score":0.97,"basis":"same product + description similarity"}]}],"children":[{"from":"CVE-2021-36749","to":"CVE-2023-26920","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-9p5g-vg43-mj5r","via":"reference","url":"https://github.com/advisories/GHSA-793h-6f7r-6qvm"}]}]}}