CVE-2021-26920: apache software foundation apache druid Prototype Pollution
Vulnerability summary
CVE-2021-26920 is a medium (CVSS 6.5) Prototype Pollution vulnerability in apache software foundation apache druid. EPSS estimates a 9.50% chance of exploitation in the next 30 days, higher than 95.3% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 02-07-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
9.50%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
-0.38 pp
From 9.88% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundA5A45Bd0804D522A1392Cb5023Aa7Ef7
Maturity: poc
Weaknesses
CWE · root cause- CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
- CWE-610Externally Controlled Reference to a Resource in Another SphereThe product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
Affected systems
Apache1 product
- druid< 0.22.0
Apache software foundation1 product
- apache druid≥ Apache Druid, ≤ 0.20.2
Naturalintelligence1 product
- fast_xml_parser< 4.1.2
Npm1 product
- fast-xml-parser< 4.1.2
Org.apache.druid1 product
- druid-core< 0.21.0
Ubuntu1 product
- node-webfontAll versions (No fix recorded)
6 vendors · 6 products
References
18 links- www.openwall.com/lists/oss-security/2021/07/02/1Mailing ListX Refsource MLISTWEBThird Party Advisory
- www.openwall.com/lists/oss-security/2021/09/24/1Mailing ListX Refsource MLISTWEBThird Party Advisory