{"answers":{"affected":"2 open source packages ship an affected version, including com.epam.reportportal:service-api. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-25822 in the wild and no public exploit code.","fix":"Upgrade com.epam.reportportal:service-api to 5.10.0 or later.","what":"CVE-2023-25822 is a medium-severity denial of service vulnerability in reportportal, published on 9 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-25822 and fix it if it is affected.\n\nWhat it is: CVE-2023-25822 is a medium-severity denial of service vulnerability in reportportal, published on 9 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-25822 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.epam.reportportal:service-api (Maven): affected all versions; fixed in 5.10.0\n- com.epam.reportportal:service-api (Maven): affected all versions; fixed in 5.10.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-25822/ (Markdown: https://insights.sbomify.com/CVE-2023-25822/index.md)","id":"CVE-2023-25822","markdown":"https://insights.sbomify.com/CVE-2023-25822/index.md","name":"CVE-2023-25822","record":{"aliases":["GHSA-mj24-gpw7-23m9"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Test automation platform","requires_auth":"low_privilege","summary":"Attackers can cause denial of service in ReportPortal by creating launches with excessively nested elements, requiring an upgrade to fix.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"reportportal","vendor":"reportportal"},{"product":"service-api","vendor":"reportportal"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"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\u003e=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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ReportPortal DoS vulnerability on creating a Launch with too many recursively nested elements","id":"CVE-2023-25822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Gradio contains Use of Hard-coded Credentials","id":"CVE-2023-25823"},"packages":[{"ecosystem":"Maven","fixed":["5.10.0"],"introduced":["0"],"last_affected":[],"package":"com.epam.reportportal:service-api","purl":null,"source":"GHSA-mj24-gpw7-23m9"},{"ecosystem":"Maven","fixed":["5.10.0"],"introduced":["0"],"last_affected":[],"package":"com.epam.reportportal:service-api","purl":"pkg:maven/com.epam.reportportal/service-api","source":"GHSA-mj24-gpw7-23m9"}],"prev":{"headline":"Nextcloud download permissions can be changed by resharer","id":"CVE-2023-25821"},"products":["reportportal"],"published":"2023-10-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-19","vendors":["reportportal"]},"summary":"Attackers can cause denial of service in ReportPortal by creating launches with excessively nested elements, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2023-25822/"}