CVE-2024-27101
JSON

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 packageVersionsReported by
authzed spicedb< 1.29.2, before 1.29.2CVE List, NVD
github.com/authzed/spicedb (Go)before 1.29.2GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.3high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-190

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

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-27101 changed 2025-04-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-h3m7-rqc4-7h9p changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2597 changed 2026-02-04CC-BY-4.0
NVDCVE-2024-27101 changed 2026-06-17Public domain