Unknown · Reportportal · CVE-2023-25822
**Name of the Vulnerable Software and Affected Versions**
ReportPortal versions prior to 5.10.0
**Description**
The ReportPortal database becomes unstable and reporting almost fully stops when the `test item.path` field exceeds the allowable `ltree` field type indexing limit, which occurs when the path length is greater than or equal to 120 or when there is recursive nesting of nested steps. REINDEX INDEX `path gist idx` and `path idx` does not resolve the issue. The problem was fixed by programmatically limiting the maximum number of nested elements.
**Recommendations**
For versions prior to 5.10.0, delete the data with long paths and reindex both indexes (`path gist idx` and `path idx`) to stabilize the database and ensure ReportPortal works properly.
Update to `com.epam.reportportal:service-api` module version 5.10.0 (product release 23.2) where the maximum number of nested elements were programmatically limited.