3.7low
Permissions processing error in spacedb
- Severity
- 3.7low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.40% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-grjv-gjgr-66g2GO-2024-2939
Description
Spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Use of an exclusion under an arrow that has multiple resources may resolve to `NO_PERMISSION` when permission is expected. If the resource exists under *multiple* folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that *all* the folders in which the user is a member be returned. Permission is returned as `NO_PERMISSION` when `PERMISSION` is expected on the `CheckPermission` API. This issue has been addressed in version 1.33.1. All users are advised to upgrade. There are no known workarounds for this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| authzed spicedb | < 1.33.1, before 1.33.1 | CVE List, NVD |
| github.com/authzed/spicedb (Go) | before 1.33.1 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Use of an exclusion under an arrow that has multiple resources may resolve to `NO_PERMISSION` when permission is expected. If the resource exists under *multiple* folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that *all* the folders in which the user is a member be returned. Permission is returned as `NO_PERMISSION` when `PERMISSION` is expected on the `CheckPermission` API. This issue has been addressed in version 1.33.1. All users are advised to upgrade. There are no known workarounds for this issue.
GitHub Advisory Database
Background
Use of an exclusion under an arrow that has multiple resources may resolve to NO_PERMISSION when permission is expected.
For example, given this schema:
definition user {}
definition folder {
relation member: user
relation banned: user
permission view = member - banned
}
definition resource {
relation folder: folder
permission view = folder->view
}
If the resource exists under multiple folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that all the folders in which the user is a member be returned
Impact
Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API.
Workarounds
None
Go Vulnerability Database
SpiceDB exclusions can result in no permission returned when permission expected in github.com/authzed/spicedb
NVD (es)
Spicedb es una base de datos de permisos de código abierto inspirada en Google Zanzíbar para permitir una autorización detallada para las aplicaciones de los clientes. El uso de una exclusión debajo de una flecha que tiene múltiples recursos puede resolverse como "NO_PERMISSION" cuando se espera permiso. Si el recurso existe en *múltiples* carpetas y el usuario tiene acceso para ver más de una carpeta, SpiceDB puede informar que el usuario no tiene acceso debido a una falla en el despachador de exclusión al solicitar que *todas* las carpetas en las que se encuentra el recurso. El usuario es miembro y se devolverá. El permiso se devuelve como "NO_PERMISSION" cuando se espera "PERMISSION" en la API "CheckPermission". Este problema se solucionó en la versión 1.33.1. Se recomienda a todos los usuarios que actualicen. No se conocen workarounds para este problema.
References
| https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2 | advisory, exploit, vendor-advisory, web | |
| https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-38361 | advisory | |
| https://github.com/authzed/spicedb | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38361 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-grjv-gjgr-66g2 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2939 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2024-38361 changed 2026-06-17 | Public domain |