GitHub Advisoryadvisory · Maven
GHSA-mj24-gpw7-23m9 Denial of service vulnerability on creating a Launch with too many recursively nested elements in reportportal
MEDIUM
Official page ↗
- Aliases
- CVE-2023-25822
- Ecosystem
- Maven
- Packages
- com.epam.reportportal:service-api
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
- Reviewed
- 2023-10-10
Affected packages
• Maven com.epam.reportportal:service-api: < 5.10.0 → fixed in 5.10.0
Description
Impact
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.
Patches
The problem was fixed in `service-api` module of version `5.10.0` (product release 23.2), where the maximum number of nested elements were programmatically limited.
Workarounds
After deletion of the data with long paths, and reindexing both indexes (path_gist_idx and path_idx), the database becomes stable and ReportPortal is working properly.
Related
Alias · CVE (1)
- CVE-2023-25822 ReportPortal is an AI-powered test automation platform. vulnerability
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://github.com/reportportal/reportportal/security/advisories/GHSA-mj24-gpw7-23m9 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-25822 advisory
- https://github.com/reportportal/reportportal package
- https://github.com/reportportal/reportportal/releases/tag/v23.2 web
- https://reportportal.io/docs/releases/Version23.2 web