Vulnerabilities in pkg:maven/com.epam.reportportal/service-api
PACKAGECVE-2023-25822 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Service api libraries in the Maven ecosystem. The issue involves denial of service vulnerability on creating a launch with too many recursively nested elements in reportportal. Remediation is available by upgrading affected packages to version 5.10.0.
pkg:maven/com.epam.reportportal/service-api
Vulnerability advisories affecting package pkg:maven/com.epam.reportportal/service-api. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mj24-gpw7-23m9 | CVE-2023-25822 | MODERATE | Denial of service vulnerability on creating a Launch with too many recursively nested elements in reportportal |
| GHSA-2jx8-v4hv-gx3h | CVE-2020-12642 | HIGH | XXE vulnerability in Launch import |
| GHSA-7qfm-6m33-rgg9 | - | HIGH | XML External Entity Reference |
| GHSA-24wf-7vf2-pv59 | CVE-2021-29620 | HIGH | XXE vulnerability on Launch import with externally-defined DTD file |
CVE-2023-25822 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-25822
To remediate this vulnerability, upgrade all affected Service api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.epam.reportportal</groupId>
<artifactId>service-api</artifactId>
<version>5.10.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.epam.reportportal
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-25822, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.epam.reportportal
Analyze the terminal output to locate any version of Service api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.10.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.epam.reportportal command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Service api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-25822 Affected Service api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.epam.reportportal:service-api
|
Maven |
< 5.10.0
|
5.10.0
|
References
Frequently Asked Questions
What is CVE-2023-25822?
Which Service api versions are affected?
What version fixes CVE-2023-25822?
Is service-api affected?
What is the CVSS score of CVE-2023-25822?
What CWE is associated with CVE-2023-25822?
How can I check Maven dependencies for CVE-2023-25822?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mj24-gpw7-23m9",
"modified" : "2023-10-13T20:28:09Z",
"published" : "2023-10-10T18:28:11Z",
"aliases" : [ "CVE-2023-25822" ],
"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>=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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.epam.reportportal:service-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.10.0"
} ]
} ]
} ],
"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"
} ],
"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"
}
}