CVE-2022-31195 Path traversal vulnerability in Simple Archive Format package import in DSpace
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| duraspace dspace | >= 4.0, <= 5.10; >= 6.0, < 6.4 | 6.4 | Fixed |
| org.dspace/dspace-api(Maven) | = 4.0; = 4.1; = 4.2; = 4.3 +26 more | 5.11, 6.4 | Fixed |
| DSpace | = >= 4.0, < 5.11; = >= 6.0, < 6.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.dspace/dspace-api(Maven) | >= 4.0, < 5.11 | 5.11 |
| org.dspace/dspace-api(Maven) | >= 6.0, < 6.4 | 6.4 |
| org.dspace/dspace-api(Maven) | = 4.0 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.1 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.2 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.3 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.4 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.5 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.6 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.7 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.8 | No fix listed |
| org.dspace/dspace-api(Maven) | = 4.9 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.0 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.0-rc1 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.0-rc2 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.0-rc3 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.1 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.10 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.2 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.3 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.4 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.5 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.6 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.7 | No fix listed |
| org.dspace/dspace-api(Maven) | = 5.8 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.dspace/dspace-api(Maven) | = 5.9 | No fix listed |
| org.dspace/dspace-api(Maven) | = 6.0 | No fix listed |
| org.dspace/dspace-api(Maven) | = 6.1 | No fix listed |
| org.dspace/dspace-api(Maven) | = 6.2 | No fix listed |
| org.dspace/dspace-api(Maven) | = 6.3 | No fix listed |
| DSpace | = >= 6.0, < 6.4 | No fix listed |
| DSpace | = >= 4.0, < 5.11 | No fix listed |
| duraspace dspace | >= 4.0, <= 5.10 | No fix listed |
| duraspace dspace | >= 6.0, < 6.4 | 6.4 |
References
- github.com patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com
- github.com product