Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-mj24-gpw7-23m9

Опубликовано: 10 окт. 2023
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

Denial of service vulnerability on creating a Launch with too many recursively nested elements in reportportal

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.

Пакеты

Наименование

com.epam.reportportal:service-api

maven
Затронутые версииВерсия исправления

< 5.10.0

5.10.0

EPSS

Процентиль: 52%
0.00293
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-770

Связанные уязвимости

CVSS3: 6.3
nvd
больше 2 лет назад

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.

EPSS

Процентиль: 52%
0.00293
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-770