CVE-2021-41042 XML External Entity Reference in Eclipse Lyo

Medium 5.3 Published Updated

An attacker can trigger external DTD retrieval in Eclipse Lyo, potentially leading to data disclosure or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41042?

CVE-2021-41042 is a medium-severity vulnerability in The Eclipse Foundation Eclipse Lyo, published on 7 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-611

Which versions are affected by CVE-2021-41042?

2 open source packages ship an affected version, including org.eclipse.lyo:lyo-parent. It affects 1 product.

PackageAffectedFixed in
org.eclipse.lyo:lyo-parent MavenFrom 1.0.05.0.0.Final
org.eclipse.lyo:lyo-parent MavenFrom 1.0.05.0.0.Final

Products include Eclipse Lyo.

How do I fix CVE-2021-41042?

Upgrade org.eclipse.lyo:lyo-parent to 5.0.0.Final or later.

Is CVE-2021-41042 being exploited?

There is no known exploitation of CVE-2021-41042 in the wild and no public exploit code.

Sources

Also known as GHSA-6296-mvgp-27hp.

Is CVE-2021-41042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free