Vulnerability · Published Oct 9, 2023 · Assigned by GitHub_M
CVE-2023-25822ReportPortal DoS vulnerability on creating a Launch with too many recursively nested elements
Medium 6.3
In plain English
A medium-severity resource allocation without limits in reportportal from reportportal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.epam.reportportal:service-api | 5.10.0 | GHSA-mj24-gpw7-23m9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| reportportal | reportportal | < 5.10.0 |
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H
References
- https://github.com/reportportal/reportportal/security/advisories/GHSA-mj24-gpw7-23m9 x_refsource_CONFIRM
- https://github.com/reportportal/reportportal/releases/tag/v23.2 x_refsource_MISC
- https://reportportal.io/docs/releases/Version23.2/ x_refsource_MISC