{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31195","published":"2022-08-01T21:15:13.557000Z","last_modified":"2026-06-17T04:45:00.470000Z","status":"Modified","cvss":{"version":"3.1","score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:duraspace:dspace:*:*:*:*:*:*:*:*","part":"a","vendor":"duraspace","product":"dspace","version_start_including":"4.0","version_end_including":"5.10"},{"criteria":"cpe:2.3:a:duraspace:dspace:*:*:*:*:*:*:*:*","part":"a","vendor":"duraspace","product":"dspace","version_start_excluding":"6.0","version_end_excluding":"6.4"}],"cpes_truncated":false,"vendors":["duraspace"],"products":["duraspace/dspace"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.01965,"percentile":0.81035,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8rmh-55h4-93h5","ecosystem":"Maven","name":"org.dspace:dspace-api","purl":"pkg:maven/org.dspace/dspace-api","ranges":[{"introduced":"4.0","fixed":"5.11"}],"versions":["4.0","4.1","4.2","4.3","4.4","4.5","4.6","4.7","4.8","4.9","5.0","5.0-rc1","5.0-rc2","5.0-rc3","5.1","5.10","5.2","5.3","5.4","5.5","5.6","5.7","5.8","5.9"],"versions_truncated":false},{"advisory":"GHSA-8rmh-55h4-93h5","ecosystem":"Maven","name":"org.dspace:dspace-api","purl":"pkg:maven/org.dspace/dspace-api","ranges":[{"introduced":"6.0","fixed":"6.4"}],"versions":["6.0","6.1","6.2","6.3"],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2022-31195/","html_en":"/en/cve/CVE-2022-31195/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31195","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31195"},"untrusted":{"vendor_name":"Duraspace","product_name":"Dspace","desc_en":"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.","affected":[{"untrusted_vendor":"DSpace","untrusted_product":"DSpace","versions":[]}],"references":[{"url":"https://github.com/DSpace/DSpace/commit/56e76049185bbd87c994128a9d77735ad7af0199","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/DSpace/DSpace/commit/7af52a0883a9dbc475cf3001f04ed11b24c8a4c0","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/DSpace/DSpace/security/advisories/GHSA-8rmh-55h4-93h5","tags":["Patch","Third Party Advisory"]}]}}