CVE-2025-53622
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-15

Last updated on: 2025-07-15

Assigner: GitHub, Inc.

Description
DSpace open source software is a repository application which provides durable access to digital resources. Prior to versions 7.6.4, 8.2, and 9.1, a path traversal vulnerability is possible during the import of an archive (in Simple Archive Format), either from command-line (`./dspace import` command) or from the "Batch Import (Zip)" user interface feature. An attacker may craft a malicious Simple Archive Format (SAF) package where the `contents` file references any system files (using relative traversal sequences) which are readable by the Tomcat user. If such a package is imported, this will result in sensitive content disclose, including retrieving arbitrary files or configurations from the server where DSpace is running. The Simple Archive Format (SAF) importer / Batch Import (Zip) is only usable by site administrators (from user interface / REST API) or system administrators (from command-line). Therefore, to exploit this vulnerability, the malicious payload would have to be provided by an attacker and trusted by an administrator (who would trigger the import). The fix is included in DSpace 7.6.4, 8.2 and 9.1. For those who cannot upgrade immediately, it is possible to manually patch the DSpace backend. (No changes are necessary to the frontend.) A pull request exists which can be used to patch systems running DSpace 7.6.x, 8.x or 9.0. Although it is not possible to fully protect the system via workarounds, one may can apply a best practice. Administrators must carefully inspect any SAF archives (they did not construct themselves) before importing, paying close attention to the `contents` file to validate it does not reference files outside of the SAF archives.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-15
Last Modified
2025-07-15
Generated
2026-05-07
AI Q&A
2025-07-15
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
dspace dspace 9.1
dspace dspace 7.6.4
dspace dspace 8.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-53622 is a path traversal vulnerability in the DSpace repository software that occurs during the import of Simple Archive Format (SAF) packages. An attacker can craft a malicious SAF package where the 'contents' file includes relative path traversal sequences (like '../') that reference arbitrary system files readable by the Tomcat user running DSpace. When such a package is imported by an administrator via command-line or the Batch Import (Zip) UI, it can lead to unauthorized disclosure of sensitive files outside the intended import directory. The vulnerability arises from insufficient validation of file paths in SAF manifests, allowing file access outside the designated storage areas. The fix enforces strict validation to ensure all file paths remain within authorized directories, preventing traversal attacks. [7, 1, 3]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized disclosure of sensitive files or configuration data from the server running DSpace. Specifically, if a malicious SAF package is imported by an administrator, it can expose arbitrary files readable by the Tomcat user, resulting in confidentiality loss. There is no impact on data integrity or significant availability impact. Exploitation requires administrative privileges and user interaction (an administrator must import the malicious package). Therefore, the main impact is sensitive information disclosure from the server. [7]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection involves monitoring for attempts to import malicious SAF (Simple Archive Format) packages containing path traversal sequences in the 'contents' file. Since the vulnerability is exploited during SAF import by administrators, inspecting import logs for errors related to path validation failures or IOException thrown due to illegal file paths can help detect exploitation attempts. The patched DSpace versions include improved logging for illegal bitstream paths and path traversal attempts. Administrators can check DSpace logs for entries indicating path traversal validation errors. There are no specific network commands provided, but reviewing import activity and logs for suspicious SAF archive imports or errors related to path validation is recommended. [4, 5, 6, 7]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Upgrading DSpace to versions 7.6.4, 8.2, or 9.1 where the vulnerability is fixed. 2) If upgrading is not immediately possible, manually patch the DSpace backend by applying the provided pull requests (#11036 for 7.x, #11037 for 8.x, #11038 for 9.0), then rebuild and redeploy DSpace and restart the server. 3) As a temporary workaround, carefully inspect any SAF archives from untrusted sources before importing, paying close attention to the 'contents' file to ensure it does not reference files outside the SAF package directory. Avoid importing large or untrusted SAF archives until patched. 4) Monitor logs for path validation errors to detect potential exploitation attempts. [1, 2, 3, 7]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart