ReportPortal DoS vulnerability on creating a Launch with too many recursively nested elements
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.epam.reportportal:service-apiMaven | < 5.10.0 | 5.10.0 |
Affected products
1- Range: < 5.10.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-mj24-gpw7-23m9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-25822ghsaADVISORY
- github.com/reportportal/reportportal/releases/tag/v23.2ghsax_refsource_MISCWEB
- github.com/reportportal/reportportal/security/advisories/GHSA-mj24-gpw7-23m9ghsax_refsource_CONFIRMWEB
- reportportal.io/docs/releases/Version23.2ghsaWEB
- reportportal.io/docs/releases/Version23.2/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.