CVE-2024-27101: Integer overflow in chunking helper causes dispatching to miss elements or panic in github.com/authzed/spicedb

github.com/authzed/spicedb Updated 02 Oct 2025

Summary

01/03/2024
Yes i
High
7.3

CVE-2024-27101: Integer overflow in chunking helper causes dispatching to miss elements or panic. Affects github.com/authzed/spicedb versions < 1.29.2. Fixed in 1.29.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

github.com/authzed/spicedb is an open-source Go package that provides a distributed database for managing permissions and access control. It is commonly used in applications that require fine-grained authorization capabilities. This package allows users to define schemas and perform permission checks and subject lookups. However, a vulnerability has been discovered in the package that can lead to incorrect permission checks and subject lookup results.

Vulnerability Detail

The vulnerability in github.com/authzed/spicedb is an integer overflow in the chunking helper. When a resource being checked has more than 65535 relationships for the same resource and subject type, the chunking helper fails to properly dispatch elements, resulting in permission checks being denied when they should be allowed. Additionally, this issue can cause the server to panic, rendering it unavailable. The impacted API methods include CheckPermission, BulkCheckPermission, and LookupSubjects. The consequences of this vulnerability are that permission checks that should be allowed are denied, and subject lookups return fewer subjects than expected.

How To Fix

Latest published version: v1.57.0 as of 23 Oct 2026

go get github.com/authzed/spicedb@v1.57.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.29.2

This is the first release that contains the fix.

go get github.com/authzed/spicedb@v1.29.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability other than ensuring that the SpiceDB cluster does not have more than 65535 relationships for the same resource and subject type.

Conclusion

In conclusion, the vulnerability in github.com/authzed/spicedb can lead to incorrect permission checks and subject lookup results. It is recommended to upgrade to the latest version of the package to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/authzed/spicedb →

Share this vulnerability

FAQ

The impact of this vulnerability is that permission checks that should be allowed are denied, and subject lookups return fewer subjects than expected.

The affected API methods are CheckPermission, BulkCheckPermission, and LookupSubjects.

The recommended fix is to upgrade to version 1.29.2 of github.com/authzed/spicedb.

No, AuthZed Dedicated and Serverless customers do not need to take any action as the deployments have already been upgraded.

There is no known workaround other than ensuring that the SpiceDB cluster does not have more than 65535 relationships for the same resource and subject type.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/authzed/spicedb.

How To Fix

Latest published version: v1.57.0 as of 23 Oct 2026

go get github.com/authzed/spicedb@v1.57.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.29.2

This is the first release that contains the fix.

go get github.com/authzed/spicedb@v1.29.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback