7.3high
Integer overflow in chunking helper causes dispatching to miss elements or panic
- Severity
- 7.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-h3m7-rqc4-7h9pGO-2024-2597
Description
SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. Integer overflow in chunking helper causes dispatching to miss elements or panic. Any SpiceDB cluster with any schema where a resource being checked has more than 65535 relationships for the same resource and subject type is affected by this problem. The CheckPermission, BulkCheckPermission, and LookupSubjects API methods are affected. This vulnerability is fixed in 1.29.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| authzed spicedb | < 1.29.2, before 1.29.2 | CVE List, NVD |
| github.com/authzed/spicedb (Go) | before 1.29.2 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. Integer overflow in chunking helper causes dispatching to miss elements or panic. Any SpiceDB cluster with any schema where a resource being checked has more than 65535 relationships for the same resource and subject type is affected by this problem. The CheckPermission, BulkCheckPermission, and LookupSubjects API methods are affected. This vulnerability is fixed in 1.29.2.
GitHub Advisory Database
Any SpiceDB cluster with any schema where a resource being checked has more than 65535 relationships for the same resource and subject type is affected by this problem.
The issue may also lead to a panic rendering the server unavailable
The following API methods are affected:
Impact
Permission checks that are expected to be allowed are instead denied, and lookup subjects will return fewer subjects than expected.
Workarounds
There is no workaround other than making sure that the SpiceDB cluster does not have very wide relations, with the maximum value being the maximum value of an 16-bit unsigned integer
Remediations
- AuthZed Dedicated customers: No action. AuthZed has upgraded all deployments.
- AuthZed Serverless customers: No Action. AuthZed has upgraded all deployments.
- AuthZed Enterprise customers: Upgrade to v1.29.2-hotfix-enterprise.v1.hotfix.v1
- Open Source users: Upgrade to v1.29.2
Go Vulnerability Database
Integer overflow in chunking helper causes dispatching to miss elements or panic in github.com/authzed/spicedb
NVD (es)
SpiceDB es una base de datos de código abierto inspirada en Google Zanzíbar para crear y administrar permisos de aplicaciones críticas para la seguridad. El desbordamiento de enteros en el asistente de fragmentación hace que el envío pierda elementos o entre en pánico. Este problema afecta a cualquier clúster de SpiceDB con cualquier esquema en el que un recurso que se esté comprobando tenga más de 65535 relaciones para el mismo recurso y tipo de asunto. Los métodos API CheckPermission, BulkCheckPermission y LookupSubjects se ven afectados. Esta vulnerabilidad se solucionó en 1.29.2.
References
| https://github.com/authzed/spicedb/security/advisories/GHSA-h3m7-rqc4-7h9p | advisory, vendor-advisory, web | |
| https://github.com/authzed/spicedb/commit/ef443c442b96909694390324a99849b0407007fe | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-27101 | advisory | |
| https://github.com/authzed/spicedb | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27101 changed 2025-04-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h3m7-rqc4-7h9p changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2597 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2024-27101 changed 2026-06-17 | Public domain |