Affected by GO-2025-4151
and 3 other vulnerabilities
GO-2025-4151: SpiceDB: LookupResources with Multiple Entrypoints across Different Definitions Can Return Incomplete Results in github.com/authzed/spicedb
GO-2026-4465: LookupResources Cursor section tampering can crash SpiceDB process via tuple.MustParse panic in github.com/authzed/spicedb
GO-2026-5133: SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected in github.com/authzed/spicedb
GO-2026-5514: SpiceDB: Caveat structures with nested lists can result in improper cache reuse in github.com/authzed/spicedb
type DigestMap struct {
// contains filtered or unexported fields
}
DigestMap is a thread-safe map for storing t-digests keyed by string identifiers.
It's designed for concurrent access patterns where multiple goroutines may read
and write digest statistics simultaneously.
CDF returns the cumulative distribution function value at the given value for the key.
Returns the CDF value and true if the key exists, 0 and false otherwise.