CVE-2017-12623: XML External Entity Reference in Apache NiFi
6.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65267%
CWE
Published
5/17/2022
Updated
1/30/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.nifi:nifi | maven | >= 1.0.0, < 1.4.0 | 1.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure XML parsing during template processing. While the exact patch isn't shown, the CVE description and NiFi's architecture indicate:
- TemplateUtils.parseTemplate would be the primary XML parsing location for templates
- uploadTemplate is the controller endpoint handling template uploads
- XXE vulnerabilities typically manifest in DocumentBuilderFactory configuration, which would occur in these XML processing methods
- The fix version (1.4.0) would have modified these areas to add setFeature("http://apache.org/xml/features/disallow-doctype-decl", true) or similar protections