3.7 LOW
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- tree-sitter-grammars.tree-sitter-spicedb
- python313Packages.tree-sitter-grammars.tree-sitter-spicedb
- python314Packages.tree-sitter-grammars.tree-sitter-spicedb
- @LeSuisse accepted
- @LeSuisse published on GitHub
SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected
SpiceDB is an open source database system for creating and managing security-critical application permissions. From 1.34.0 until 1.54.0, SpiceDB can return PERMISSIONSHIP_HAS_PERMISSION instead of PERMISSIONSHIP_CONDITIONAL_PERMISSION or PERMISSIONSHIP_NO_PERMISSION because checkRequestToKey() and checkRequestToKeyWithCanonical() in internal/dispatch/keys/computed.go omit CheckHints when constructing dispatch Check cache keys. The incorrect result requires a permission combining relations with intersection or exclusion, a subject reachable through caveated and non-caveated branches, LookupResources with a context parameter running concurrently with CheckPermission or CheckBulkPermissions for the same resource and subject, and an enabled dispatch result cache. Under these conditions, a result computed for one hint set can poison the cache entry used by a semantically different authorization check, allowing permission without satisfying the caveat. This issue is fixed in version 1.54.0.
References
-
https://github.com/authzed/spicedb/security/advisories/GHSA-4vrg-r928-h5vv x_refsource_CONFIRM
-
https://github.com/authzed/spicedb/pull/3188 x_refsource_MISC
-
https://github.com/authzed/spicedb/releases/tag/v1.54.0 x_refsource_MISC
Affected products
- ==>= 1.34.1, < 1.54.0
Matching in nixpkgs
Ignored packages (3)
pkgs.tree-sitter-grammars.tree-sitter-spicedb
Tree-sitter grammar for spicedb
-
nixos-unstable 0-unstable-2024-02-08
- nixpkgs-unstable 0-unstable-2024-02-08
- nixos-unstable-small 0-unstable-2024-02-08
-
nixos-26.05 0-unstable-2024-02-08
- nixos-26.05-small 0-unstable-2024-02-08
- nixpkgs-26.05-darwin 0-unstable-2024-02-08
pkgs.python313Packages.tree-sitter-grammars.tree-sitter-spicedb
Python bindings for tree-sitter-spicedb
-
nixos-unstable 0+unstable20240208
- nixpkgs-unstable 0+unstable20240208
- nixos-unstable-small 0+unstable20240208
-
nixos-26.05 0+unstable20240208
- nixos-26.05-small 0+unstable20240208
- nixpkgs-26.05-darwin 0+unstable20240208
pkgs.python314Packages.tree-sitter-grammars.tree-sitter-spicedb
Python bindings for tree-sitter-spicedb
-
nixos-unstable 0+unstable20240208
- nixpkgs-unstable 0+unstable20240208
- nixos-unstable-small 0+unstable20240208
-
nixos-26.05 0+unstable20240208
- nixos-26.05-small 0+unstable20240208
- nixpkgs-26.05-darwin 0+unstable20240208
Package maintainers
-
@thoughtpolice Austin Seipp <aseipp@pobox.com>
-
@squat squat