{"id":"GHSA-mj24-gpw7-23m9","summary":"Denial of service vulnerability on creating a Launch with too many recursively nested elements in reportportal","details":"### Impact\nReportPortal 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\u003e=120 approximately, recursive nesting of the nested steps). \n\nREINDEX INDEX path_gist_idx and path_idx aren't helped. \n\n### Patches\nThe problem was fixed in `service-api` module of version `5.10.0` (product release [23.2](https://reportportal.io/docs/releases/Version23.2/)), where the maximum number of nested elements were programmatically limited.\n\n### Workarounds\nAfter 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.","aliases":["CVE-2023-25822"],"modified":"2026-09-10T03:49:24.709311325Z","published":"2023-10-10T18:28:11Z","database_specific":{"cwe_ids":["CWE-770"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-10-10T18:28:11Z","nvd_published_at":"2023-10-09T14:15:10Z"},"references":[{"type":"WEB","url":"https://github.com/reportportal/reportportal/security/advisories/GHSA-mj24-gpw7-23m9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25822"},{"type":"PACKAGE","url":"https://github.com/reportportal/reportportal"},{"type":"WEB","url":"https://github.com/reportportal/reportportal/releases/tag/v23.2"},{"type":"WEB","url":"https://reportportal.io/docs/releases/Version23.2"}],"affected":[{"package":{"name":"com.epam.reportportal:service-api","ecosystem":"Maven","purl":"pkg:maven/com.epam.reportportal/service-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0"}]}],"versions":["2.6.0","2.7.2","3.0.1","3.1.1","3.2.0","3.2.1","3.3.2","4.0.0","4.1.1","4.2.1","4.3.10","4.3.11","4.3.12","5.0.0","5.1.0","5.1.1","5.2.0","5.2.1","5.2.2","5.2.3","5.3.0","5.3.1","5.3.2","5.3.3","5.3.4","5.3.5","5.7.0","5.7.1","5.7.2","5.7.3","5.7.4","5.8.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-mj24-gpw7-23m9/GHSA-mj24-gpw7-23m9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}