Hoch

DSpace ItemImportService API Vulnerable to Path Traversal in Simple Archive Format Package Import

  • Veröffentlicht: 06.08.2022
  • Aktualisiert: 11.10.2026 11:21

Impact

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.

This vulnerability does NOT impact 7.x.

Patches

DSpace 6.x:

DSpace 5.x:

Apply the patch to your DSpace

If at all possible, we recommend upgrading your DSpace site based on the upgrade instructions. However, if you are unable to do so, you can manually apply the above patches as follows:

  1. Download the appropriate patch file to the machine where DSpace is running
  2. From the [dspace-src] folder, apply the patch, e.g. git apply [name-of-file].patch
  3. Now, update your DSpace site (based loosely on the Upgrade instructions). This generally involves three steps:
    1. Rebuild DSpace, e.g. mvn -U clean package (This will recompile all DSpace code)
    2. Redeploy DSpace, e.g. ant update (This will copy all updated WARs / configs to your installation directory). Depending on your setup you also may need to copy the updated WARs over to your Tomcat webapps folder.
    3. Restart Tomcat

Workarounds

As a basic workaround, you 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.

For more information

If you have any questions or comments about this advisory:

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.dspace:dspace-api >= 4.0, < 5.11, >= 6.0, < 6.4 5.11, 6.4

Verweise

CVSS-Wert 7.2/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Schwäche (CWE)
CWE-22
Plattform
Java / Kotlin (Maven)
Paket
org.dspace:dspace-api
Veröffentlicht
06.08.2022
Aktualisiert
11.10.2026 11:21

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-8rmh-55h4-93h5 - CC BY 4.0

Schwachstellenhistorie: org.dspace:dspace-api

Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
8
Erste → letzte
11.2021 07.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 3
  • Mittel 5

Veröffentlichungen pro Jahr

  1. 2021: 1
  2. 2022: 1
  3. 2023: 0
  4. 2024: 0
  5. 2025: 2
  6. 2026: 4
  1. Mittel · 5.5 CVE-2026-49833 >= 8.0-rc1, < 8.4, >= 9.0-rc1, < 9.3, >= 10.0-rc1, < 10.0 8.4, 9.3, 10.0
  2. Mittel · 4.4 CVE-2026-49830 < 7.6.7, >= 8.0-rc1, < 8.4, >= 9.0-rc1, < 9.3, >= 10-rc1, < 10.0 7.6.7, 8.4, 9.3, 10.0
  3. Mittel · 5.5 CVE-2026-49831 < 7.6.7, >= 8.0-rc1, < 8.4, >= 9.0-rc1, < 9.3, >= 10-rc1, < 10.0 7.6.7, 8.4, 9.3, 10.0
  4. Hoch · 8.0 CVE-2026-49832 >= 8.0-rc1, < 8.4, >= 9.0-rc1, < 9.3, >= 10.0-rc1, < 10.0 8.4, 9.3, 10.0
  5. Mittel · 5.2 CVE-2025-53622 < 7.6.4, >= 8.0, < 8.2, >= 9.0, < 9.1 7.6.4, 8.2, 9.1
  6. Mittel · 6.9 CVE-2025-53621 < 7.6.4, >= 8.0, < 8.2, >= 9.0, < 9.1 7.6.4, 8.2, 9.1
  7. DSpace ItemImportService API Vulnerable to Path Traversal in Simple Archive Format Package Import dieser Eintrag
    Hoch · 7.2 CVE-2022-31195 >= 4.0, < 5.11, >= 6.0, < 6.4 5.11, 6.4

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.