Access Restriction Bypass Affecting org.dspace:dspace-api Open this link in a new tab package, versions [7.0-beta1, 7.0-preview-1)

  • Attack Complexity


  • Confidentiality


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    9 Mar 2021

  • disclosed

    15 Jan 2021

  • credit


Introduced: 15 Jan 2021

CWE-284 Open this link in a new tab

How to fix?

Upgrade org.dspace:dspace-api to version 7.0-preview-1 or higher.


org.dspace:dspace-api is a DSpace core data model and service APIs.

Affected versions of this package are vulnerable to Access Restriction Bypass. Multiple access control issues exist in dspace-api development versions. These issues include:

  • The SolrServiceResourceRestrictionPlugin doesn't check for dates on permissions, causing the embargoed items to be returned
  • Discovery ignores the PreAuthorize permissions check which should ensure the item cannot be returned, not even when it's embedded

Note: These issues only exist in unreleased/development versions of DSpace v7.0, and it does not impact any production releases outside of beta/preview releases.