SCA: security update for org.dspace:dspace-api (GHSA-8rmh-55h4-93h5)

high Tenable Self-Hosted Container Security Plugin ID 412843

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- DSpace open source software is a repository application which provides durable access to digital
resources. In affected versions the ItemImportServiceImpl is vulnerable to a path traversal vulnerability.
This means a malicious SAF (simple archive format) package could cause a file/directory to be created
anywhere the Tomcat/DSpace user can write to on the server. However, this path traversal vulnerability is
only possible by a user with special privileges (either Administrators or someone with command-line access
to the server). This vulnerability impacts the XMLUI, JSPUI and command-line. Users are advised to
upgrade. As a basic workaround, users may block all access to the following URL paths: If you are using
the XMLUI, block all access to /admin/batchimport path (this is the URL of the Admin Batch Import tool).
Keep in mind, if your site uses the path "/xmlui", then you'd need to block access to
/xmlui/admin/batchimport. If you are using the JSPUI, block all access to /dspace-admin/batchimport path
(this is the URL of the Admin Batch Import tool). Keep in mind, if your site uses the path "/jspui", then
you'd need to block access to /jspui/dspace-admin/batchimport. Keep in mind, only an Administrative user
or a user with command-line access to the server is able to import/upload SAF packages. Therefore,
assuming those users do not blindly upload untrusted SAF packages, then it is unlikely your site could be
impacted by this vulnerability. (CVE-2022-31195)

See Also

https://github.com/advisories/GHSA-8rmh-55h4-93h5

Plugin Details

Severity: High

ID: 412843

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2022-31195

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/6/2022

Vulnerability Publication Date: 8/1/2022

Reference Information

CVE: CVE-2022-31195

cwe: CWE-22