In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Incorrect Authorization vulnerabilities in an interactive lesson.
Start learningUpgrade surrealdb to version 3.1.0 or higher.
Affected versions of this package are vulnerable to Incorrect Authorization in the Index::Count process. An attacker can infer the values of restricted fields by issuing repeated count queries with different guesses, thereby confirming or recovering the contents of fields protected by field-level permissions when those fields are indexed.
This vulnerability can be mitigated by avoiding the creation of indexes on fields protected by field-level SELECT permissions, restricting the ability of users to issue arbitrary count queries against such tables, or using namespace/database isolation as the primary boundary.