Allocation of Resources Without Limits or Throttling Affecting github.com/authzed/spicedb/internal/datastore/revisions package, versions <1.45.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMAUTHZEDSPICEDBINTERNALDATASTOREREVISIONS-13876674
  • published11 Nov 2025
  • disclosed10 Nov 2025
  • creditUnknown

Introduced: 10 Nov 2025

NewCVE-2025-64529  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/authzed/spicedb/internal/datastore/revisions to version 1.45.2 or higher.

Overview

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.

Workaround

This vulnerability can be mitigated by setting --write-relationships-max-updates-per-call to 1000.

References

CVSS Base Scores

version 4.0
version 3.1