CVE-2021-41042: XML External Entity Reference in Eclipse Lyo
4.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78122%
CWE
Published
7/8/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.eclipse.lyo:lyo-parent | maven | >= 1.0.0, <= 4.1.0 | 5.0.0.Final |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure XML parser configuration. The commit a8b15b7 shows the fix involved modifying the createTransformer method to set security attributes (ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_STYLESHEET) on TransformerFactory. The original vulnerable implementation used TransformerFactory.newInstance().newTransformer() without these restrictions, making it susceptible to XXE attacks via RDF/XML processing. The JenaModelHelper class is central to RDF/XML handling in Lyo, and the patched method directly addresses the CWE-611 vulnerability by restricting DTD loading.