logo

CVE-2023-25822 com.epam.reportportal:service-api

Package

Manager: maven
Name: com.epam.reportportal:service-api
Vulnerable Version: >=0 <5.10.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00293 pctl0.52186

Details

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](https://reportportal.io/docs/releases/Version23.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.

Metadata

Created: 2023-10-10T18:28:11Z
Modified: 2023-10-13T20:28:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-mj24-gpw7-23m9/GHSA-mj24-gpw7-23m9.json
CWE IDs: ["CWE-770"]
Alternative ID: GHSA-mj24-gpw7-23m9
Finding: F002
Auto approve: 1