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 applicationsLearn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.
Start learningUpgrade github.com/authzed/spicedb/internal/graph to version 1.45.2 or higher.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the WriteRelationships function when the exclusion operator is used in the authorization schema and the server is configured with --write-relationships-max-updates-per-call greater than 6500. An attacker can cause the system to return a successful response for a failed operation, leading to incorrect permission checks by submitting a payload that exceeds the datastore's allowed size. This is only exploitable if the exclusion operator is present in the schema and the server configuration allows more than 6500 updates per call.
This vulnerability can be mitigated by setting --write-relationships-max-updates-per-call to 1000.