Every CVE Search/ Get API key

CVE-2021-41042

XML External Entity Reference in Eclipse Lyo

5.3 MediumFix available

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.00%Up 0.1 points since Jul 8, 2022
90%50%10%1%

What each source reports

NVD Score used 5.3

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

Record
CVE-2021-41042
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
CVE List No score

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

Record
CVE-2021-41042
Weakness
CWE-611
Updated
2026-11-02
EUVDEUVD-2022-6255 No score

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

Record
EUVD-2022-6255
Updated
2026-11-03
GitHub AdvisoriesGHSA-6296-mvgp-27hp 4.2

XML External Entity Reference in Eclipse Lyo

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

Record
GHSA-6296-mvgp-27hp
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-611
Updated
2026-11-02
OSVGHSA-6296-mvgp-27hp 4.2

XML External Entity Reference in Eclipse Lyo

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

Record
GHSA-6296-mvgp-27hp
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-611
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.eclipse.lyo:lyo-parent
Maven
1.0.0 to 4.1.0
5.0.0.Final
org.eclipse.lyo:lyo-parent
Maven
1.0.0 up to 5.0.0.Final, plus listed versions
4.0.04.0.0.RC4.1.04.1.0.M14.1.0.RC
Show 6 moreShow less
4.1.0.alpha15.0.0.CR5.0.0.alpha15.0.0.alpha25.0.0.alpha35.0.0.alpha4
5.0.0.Final

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-41042 is a medium vulnerability (CVSS 5.3) in Eclipse Lyo, published July 7, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.00%, the 63rd percentile. Fixed in org.eclipse.lyo:lyo-parent 5.0.0.Final.

References

MoveEnter Open