Skip to content
MediumVulnerability

CVE-2023-25822: ReportPortal database instability from overlong test_item.path nesting

Identifier
CVE-2023-25822
Published
Record updated
View JSON
Affected
  • com.epam.reportportal:service-api < 5.10.0
Fixed in
5.10.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2023-25822 affects the `com.epam.reportportal:service-api` module of ReportPortal before version 5.10.0 (ReportPortal 23.2). When the test_item.path field exceeds the `ltree` indexing limit (path length of 120 or more, roughly deep recursive nesting of nested steps), the database becomes unstable and reporting almost fully stops. Rebuilding path_gist_idx and path_idx does not help.

Mitigation

Fixed in `com.epam.reportportal:service-api` module version 5.10.0 (product release 23.2), which programmatically limits the maximum number of nested elements. A workaround is available: delete the data with long paths, then reindex both indexes (path_gist_idx and path_idx).