CVE-2017-15691: Improper Restriction of XML External Entity Reference in Apache uimaj
6.5
Basic Information
Technical Details
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.uima:uimafit-core | maven | < 2.4.0 | 2.4.0 |
org.apache.uima:uimaj-core | maven | < 2.10.2 | 2.10.2 |
org.apache.uima:uimaj-core | maven | >= 3.0.0-alpha, <= 3.0.0-alpha02 | 3.0.0-beta |
org.apache.uima:uimaj-as-core | maven | < 2.10.2 | 2.10.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from XML parsers in UIMA components not properly restricting external entity expansion. While no direct patch diffs are provided, the CVE description and security reports indicate the issue exists in multiple XML processing points across UIMA's configuration handling. Standard XXE mitigation in Java XML parsers involves:
- Disabling DTD processing
- Enabling FEATURE_SECURE_PROCESSING
- Preventing external entity expansion
Key XML parsing entry points would be in configuration handlers for analysis engines, type systems, and component descriptors. The identified functions represent core XML processing locations that would need security configuration changes (as evidenced by the patched versions' release notes). Confidence is medium due to reliance on vulnerability patterns rather than direct patch analysis, but aligns with:
- The CWE-611 classification
- UIMA's XML-heavy configuration system
- Standard Java XXE mitigation patterns
- The distributed nature of fixes across multiple components (uimaj-core, uimafit, etc.)