Unknown · Apache Tomcat · CVE-2022-31194
**Name of the Vulnerable Software and Affected Versions**
DSpace versions prior to 5.11
DSpace versions prior to 6.4
**Description**
The JSPUI resumable upload implementations in SubmissionController and FileUploadRequest are vulnerable to multiple path traversal attacks, allowing an attacker to create files/directories anywhere on the server writable by the Tomcat/DSpace user, by modifying some request parameters during submission. This path traversal can only be executed by a user with special privileges (submitter rights). This vulnerability only impacts the JSPUI. The user must first have submitter privileges to at least one Collection and be able to determine how to modify the request parameters to exploit the vulnerability.
**Recommendations**
For DSpace 5.x, upgrade to version 5.11 or apply the patch file manually.
For DSpace 6.x, upgrade to version 6.4 or apply the patch file manually.
To apply the patch, download the appropriate patch file, apply it from the [dspace-src] folder using `git apply [name-of-file].patch`, rebuild DSpace using `mvn -U clean package`, redeploy DSpace using `ant update`, and restart Tomcat.