{"schemaVersion":4,"id":"CVE-2024-27101","aliases":["CGA-5qcp-37vc-7jwc","CGA-mr7m-27rh-cwpr","CGA-q57m-7w99-6q8w","CGA-x4fx-v6mx-654m","GHSA-h3m7-rqc4-7h9p","GO-2024-2597"],"status":"published","duplicateOf":null,"title":"Integer overflow in chunking helper causes dispatching to miss elements or panic","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.","dates":{"published":"2024-03-01T21:01:39.049Z","modified":"2025-04-16T20:46:45.603Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","exploitability":2.6,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","exploitability":2.6,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","exploitability":2.6,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00456,"percentile":0.41301,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-05T00:00:00.000Z","baselineScore":0.00456},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00456,"percentile":0.41301}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00689,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00456,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00456,"percentile":0.41301}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"chainguard","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/spicedb","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.33.0-r0","endInclusive":false}}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"spicedb-compat","name":"spicedb-compat","label":"spicedb-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/spicedb-compat","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.33.0-r0","endInclusive":false}}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/spicedb","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.33.0-r0","endInclusive":false}}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"spicedb-compat","name":"spicedb-compat","label":"spicedb-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/spicedb-compat","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.33.0-r0","endInclusive":false}}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"authzed","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.29.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.29.2","endInclusive":false}}],"versionsText":"< 1.29.2","eol":null,"hubHref":"/vendor/authzed/spicedb"},{"vendor":"github.com/authzed","product":"spicedb","name":"github.com/authzed/spicedb","label":"spicedb","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/authzed/spicedb","purlType":"golang","versions":[{"text":"< 1.29.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.29.2","endInclusive":false}}],"versionsText":"< 1.29.2","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-h3m7-rqc4-7h9p","label":"github.com/authzed/spicedb/security/advisories/GHSA-h3m7-rqc4-7h9p","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/authzed/spicedb/commit/ef443c442b96909694390324a99849b0407007fe","label":"github.com/authzed/spicedb/commit/ef443c442b96909694390324a99849b0407007fe","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27101.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27101.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27101","label":"nvd.nist.gov/vuln/detail/CVE-2024-27101","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/authzed/spicedb","label":"github.com/authzed/spicedb","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-225V-3FCC-X3MQ","CGA-RRG4-W65P-RH5X"]},"timeline":[{"kind":"published","date":"2024-03-01T21:01:39.049Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-16T20:46:45.603Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,73],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00456,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-04-16T20:46:45.603Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_wolfi","date":"2025-04-16T20:46:45.603Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_go","date":"2025-04-16T20:46:45.603Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2025-04-16T20:46:45.603Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-04-16T20:46:45.603Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-03-06T15:27:55.622Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00456,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T14:05:26.172Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T14:05:26.762Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T14:01:06.338Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T14:05:24.254Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T14:03:52.423Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:33:13.714Z","stale":false,"partial":false}}