Path traversal vulnerability in Simple Archive Format package import in DSpace
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DSpace | DSpace | 6.0 to before 6.4; 4.0 to before 5.11 | 6.4, 5.11 | Patch available | CNA |
| — | org.dspace:dspace-api (Maven) | 4.0 to before 5.11 | 5.11 | Patch available | GHSA-8rmh-55h4-93h5 |
| — | org.dspace:dspace-api (Maven) | 6.0 to before 6.4 | 6.4 | Patch available | GHSA-8rmh-55h4-93h5 |
- DSpace VendorDSpace Affected 6.0 to before 6.4; 4.0 to before 5.11 Fixed in 6.4, 5.11 Patch available CNA
- org.dspace:dspace-api (Maven) Vendor— Affected 4.0 to before 5.11 Fixed in 5.11 Patch available GHSA-8rmh-55h4-93h5
- org.dspace:dspace-api (Maven) Vendor— Affected 6.0 to before 6.4 Fixed in 6.4 Patch available GHSA-8rmh-55h4-93h5
Remediation
- Fix · CNA DSpace (DSpace) Fixed in 6.4, 5.11
- Fix · GHSA-8rmh-55h4-93h5 org.dspace:dspace-api (Maven) Fixed in 5.11 Advisory →
- Fix · GHSA-8rmh-55h4-93h5 org.dspace:dspace-api (Maven) Fixed in 6.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31195
- 2026-10-03 Alias added: GHSA-8rmh-55h4-93h5
References
Patch 3
More Dspace vulnerabilities
- TI-2022-13234 Path traversal vulnerabilities in DSpace JSPUI submission upload CVSS 3.1HIGH 8.2
- TI-2016-08766 The XMLUI feature in DSpace before 3.6, 4.x before 4.5, and 5.x before 5.5 allows… CVSS 3.0HIGH 7.5
- TI-2021-18028 Communities and collections administrators can escalate their privilege up to system administrator CVSS 3.1HIGH 7.2
- TI-2022-13233 URL Redirection to Untrusted Site in Dspace JSPUI CVSS 3.1HIGH 7.1
- TI-2022-13232 Cross Site Scripting possible in DSpace JSPUI "Request a Copy" feature CVSS 3.1HIGH 7.1
- TI-2022-13231 Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools CVSS 3.1HIGH 7.1
Sources
- CVE-2022-31195 · CVE Program
- CVE-2022-31195 · NVD
- FIRST EPSS
- GHSA-8rmh-55h4-93h5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences