Description (CNA)
SurrealDB before 3.3.0 allows cross-tenant access because the SurrealQL USE statement switches a session to any namespace/database without checking that the caller's authenticated level covers it. Authenticated namespace, database, or record users can switch to another tenant and read, create, update, or delete rows in tables whose PERMISSIONS allow it, such as PERMISSIONS FULL.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.3.0; unaffected 3.3.0 |
CWE
CWE-639
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2v9j-645m-pcrq
- https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-use-statement
ADP enrichment
No English description supplied.
No references supplied.