Description
DSpace open source software is a repository application which provides durable access to digital resources. From versions 8.0-rc1 to before 8.4, 9.0-rc1 to before 9.3, and 10-rc1 to before 10.0, a path traversal vulnerability is possible via the COAR Notify / LDN service in DSpace. The attacker MUST already have DSpace administrator credentials in order to perform the attack. When reading a file input stream of an "inbound pattern" / "template", used to generate an LDN message, the LDN class does not check for path traversal or restrict the templates to a known base path. This could allow an untrusted file from elsewhere in the file system (e.g. an export log, a bitstream path, a temporary file) to be read and interpreted as an Apache Velocity template. This issue has been patched in versions 8.4, 9.3, and 10.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DSpace | DSpace | >= 8.0-rc1, < 8.4, >= 9.0-rc1, < 9.3, = 10-rc1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.dspace:dspace-api | >= 8.0-rc1, < 8.4 | 8.4 | GHSA-9qm4-rh6w-pq5x |
| Maven | org.dspace:dspace-api | >= 9.0-rc1, < 9.3 | 9.3 | GHSA-9qm4-rh6w-pq5x |
| Maven | org.dspace:dspace-api | >= 10.0-rc1, < 10.0 | 10.0 | GHSA-9qm4-rh6w-pq5x |