6.5medium
Druid ingestion system Authenticated users can read data from other sources than intended
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.14% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-793h-6f7r-6qvmGHSA-x3cc-x39p-42qx
Description
fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| org.apache.druid:druid-core (Maven) | before 0.21.0 | GitHub Advisory Database |
| fast-xml-parser (npm) | before 4.1.2 | GitHub Advisory Database |
| naturalintelligence fast_xml_parser | before 4.1.2 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution.
GitHub Advisory Database
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.
GitHub Advisory Database
Impact
As a part of this vulnerability, user was able to se code using __proto__ as a tag or attribute name.
const { XMLParser, XMLBuilder, XMLValidator} = require("fast-xml-parser");
let XMLdata = "<__proto__><polluted>hacked</polluted></__proto__>"
const parser = new XMLParser();
let jObj = parser.parse(XMLdata);
console.log(jObj.polluted) // should return hacked
Patches
The problem has been patched in v4.1.2
Workarounds
User can check for "proto" in the XML string before parsing it to the parser.
References
https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7
NVD (es)
fast-xml-parser anterior a 4.1.2 permite __proto__ para Prototype Pollution.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26920 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-793h-6f7r-6qvm changed 2026-07-08 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-x3cc-x39p-42qx changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2023-26920 changed 2026-06-17 | Public domain |