{"id":"CVE-2023-25822","aliases":["CVE-2023-25822","GHSA-mj24-gpw7-23m9"],"related":[],"kind":"vulnerability","state":"published","title":"ReportPortal DoS vulnerability on creating a Launch with too many recursively nested elements","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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>=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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"ReportPortal es una plataforma de automatización de pruebas impulsada por IA. Antes de la versión 5.10.0 del módulo `com.epam.reportportal:service-api`, correspondiente a la versión 23.2 de ReportPortal, la base de datos de ReportPortal se vuelve inestable y los informes se detienen casi por completo, excepto en pequeños inicios con aproximadamente 1 prueba interna cuando se ejecuta test_item. El campo de ruta ha excedido el límite de indexación de tipo de campo `ltree` permitido (path length&gt;=120, anidamiento aproximadamente recursivo de los pasos anidados). REINDEX INDEX path_gist_idx y path_idx no reciben ayuda. El problema se solucionó en la versión 5.10.0 del módulo `com.epam.reportportal:service-api` (versión 23.2 del producto), donde el número máximo de elementos anidados estaba limitado mediante programación. Hay un workaround disponible. Después de eliminar los datos con rutas largas y reindexar ambos índices (path_gist_idx y path_idx), la base de datos se estabiliza y ReportPortal funciona correctamente.","source":"nvd"}],"published":"2023-10-09T13:13:53.391Z","modified":"2026-09-10T03:49:24.709Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 5.10.0","status":"affected"}],"vendor":"reportportal","product":"reportportal","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.10.0"}],"ecosystem":"Maven","package":"com.epam.reportportal:service-api","purl":"pkg:maven/com.epam.reportportal/service-api","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"23.2"}],"vendor":"reportportal","product":"reportportal","cpe":"cpe:2.3:a:reportportal:reportportal:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"5.10.0"}],"vendor":"reportportal","product":"service-api","cpe":"cpe:2.3:a:reportportal:service-api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/reportportal/reportportal/security/advisories/GHSA-mj24-gpw7-23m9","tags":["mitigation","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/reportportal/reportportal/releases/tag/v23.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://reportportal.io/docs/releases/Version23.2/","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25822","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/reportportal/reportportal","tags":["package"],"sources":["ghsa"]},{"url":"https://reportportal.io/docs/releases/Version23.2","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-19T13:15:21.478Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25822","url":"https://www.cve.org/CVERecord?id=CVE-2023-25822","licence":"CVE Terms of Use","modified":"2024-09-19T13:57:44.174Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mj24-gpw7-23m9","url":"https://github.com/advisories/GHSA-mj24-gpw7-23m9","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:24.709Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25822","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25822","licence":"Public domain","modified":"2026-06-17T05:42:03.723Z"}],"updatedAt":"2026-11-25T22:58:28.536Z","epss":{"score":0.00609,"percentile":0.50531,"date":"2026-12-01T12:00:22.000Z"}}