☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 7.3 🐛 CWE-190
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-27101

CVE-2024-27101 Integer Overflow in Spicedb
📅 PUBLISHED: 2024-03-01 21:01 UTC 🔄 UPDATED: 2026-09-23 20:21 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.46%
👁️
0.46% probability
11.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
7.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-27101 is a high-severity vulnerability in SpiceDB, an open-source, Google Zanzibar-inspired database for managing security-critical application permissions. The vulnerability is an integer overflow in the chunking helper, which can cause the dispatching process to miss elements or panic. This affects any SpiceDB cluster where a resource being checked has more than 65,535 relationships for the same resource and subject type. The CheckPermission, BulkCheckPermission, and LookupSubjects API methods are impacted. The vulnerability has a CVSS score of 7.3 and is fixed in version 1.29.2.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

SpiceDB is a Go-based project. The vulnerability is in the core library, not in a specific package manager. However, organizations using SpiceDB should ensure they are using the latest patched version (1.29.2 or later) from the official GitHub repository or container images.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.3 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: None
  • Integrity Impact: None
  • Availability Impact: High

The vulnerability is rated High due to the potential for denial of service (panic) and data integrity issues (missing elements) with low attack complexity and network access.

Deep Dive & Mechanics

The vulnerability is an integer overflow in the chunking helper function within SpiceDB. When processing relationships, SpiceDB uses chunking to handle large datasets. The chunking helper calculates the size of chunks to process. If the number of relationships for a given resource and subject type exceeds 65,535 (the maximum value for a 16-bit unsigned integer), an integer overflow can occur. This overflow can cause the chunking logic to miscalculate the boundaries, leading to two primary issues:

  1. Missing Elements: The dispatcher may skip processing some relationships, leading to incorrect permission checks.
  2. Panic: The miscalculation can cause an out-of-bounds access or other memory safety issue, resulting in a panic and denial of service.

The affected API methods are:

  • CheckPermission: Checks if a subject has a specific permission on a resource.
  • BulkCheckPermission: Checks multiple permissions in a single request.
  • LookupSubjects: Finds all subjects that have a specific permission on a resource.

An attacker with low privileges (e.g., a user who can create or modify relationships) can trigger this vulnerability by creating a large number of relationships (over 65,535) for a single resource and subject type.

Vulnerable vs. Patched Code

The vulnerable code is in the chunking helper function. The exact code is not publicly available, but the fix involves ensuring that the chunk size calculation does not overflow. The patched version (1.29.2) likely uses a larger integer type (e.g., uint64 instead of uint16) or adds bounds checking to prevent overflow.

Vulnerable Code (Conceptual):

func chunkHelper(count uint16) []chunk {
    // Vulnerable: count can overflow if > 65535
    // ...
}

Patched Code (Conceptual):

func chunkHelper(count uint64) []chunk {
    // Patched: uses uint64 to prevent overflow
    // ...
}

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Access to a SpiceDB instance with permission to create relationships.
  • Ability to send gRPC requests to the SpiceDB API.

Exploitation Steps:

  1. Identify a resource and subject type that can have relationships created.
  2. Create more than 65,535 relationships for the same resource and subject type. This can be done using the SpiceDB API or SDK.
  3. Send a CheckPermission, BulkCheckPermission, or LookupSubjects request that involves that resource and subject type.
  4. The server may either return incorrect results (missing elements) or panic, causing a denial of service.

Example gRPC Request (using grpcurl):

grpcurl -plaintext -d '{
  "resource": {"object_type": "resource", "object_id": "target_resource"},
  "subject": {"object": {"object_type": "user", "object_id": "attacker"}},
  "permission": "view"
}' <spicedb-address>:50051 authzed.api.v1.PermissionsService/CheckPermission

Blue Team

Detection:

  • Monitor for a large number of relationship creation requests for the same resource and subject type.
  • Monitor for SpiceDB panics or crashes.
  • Monitor for unusual error messages related to chunking or dispatching.

Mitigation:

  • Immediately upgrade to SpiceDB version 1.29.2 or later.
  • If upgrading is not possible, implement rate limiting on relationship creation to prevent an attacker from creating a large number of relationships.
  • Monitor logs for signs of exploitation.

Indicators of Compromise (IOCs)

  • Log Entries: SpiceDB logs containing panic messages or errors related to chunking or dispatching.
  • Network Traffic: A high volume of gRPC requests creating relationships for the same resource and subject type.
  • System Behavior: SpiceDB service crashes or restarts.
  • File Hashes: (Not applicable, as this is a logic vulnerability, not a file-based one.)

Detection Engineering

YARA Rule

rule CVE_2024_27101_SpiceDB_Chunking_Overflow {
    meta:
        description = "Detects potential exploitation of CVE-2024-27101 in SpiceDB logs"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-27101"
    strings:
        $panic = "panic:" nocase
        $chunk_error = "chunk" nocase
        $overflow = "overflow" nocase
    condition:
        all of ($panic, $chunk_error, $overflow)
}

Sigma Rule

title: SpiceDB Chunking Overflow Exploitation
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects potential exploitation of CVE-2024-27101 in SpiceDB logs
author: Valters IT
date: 2024-01-01
logsource:
    product: spicedb
    service: spicedb
detection:
    selection:
        - "panic:"
        - "chunk"
        - "overflow"
    condition: selection
falsepositives:
    - Legitimate large-scale operations
level: high

Suricata Rule

alert tcp any any -> any 50051 (msg:"CVE-2024-27101 SpiceDB Chunking Overflow Exploitation"; flow:to_server; content:"CheckPermission"; content:"LookupSubjects"; content:"BulkCheckPermission"; threshold: type both, track by_src, count 100, seconds 60; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Upgrade to SpiceDB version 1.29.2 or later.
  2. Workaround: If upgrading is not immediately possible, implement rate limiting on relationship creation to prevent an attacker from creating a large number of relationships for the same resource and subject type.
  3. Monitoring: Enable detailed logging and monitoring for SpiceDB to detect any signs of exploitation.
  4. Network Segmentation: Restrict network access to the SpiceDB API to trusted clients only.
  5. Regular Updates: Keep SpiceDB and all dependencies up to date.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-27101/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.