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 via the use process. An attacker can create new namespaces and databases without proper authorization by sending crafted requests to the affected endpoints. This can lead to resource exhaustion or the recreation of previously deleted namespaces. This is only exploitable if the deployment is running with default capabilities and unauthenticated guest access is allowed.
This vulnerability can be mitigated by setting --deny-arbitrary-query * for guest principals, running with --auth enabled, and requiring all callers to signin before issuing use, or by promptly revoking namespace-level tokens when a namespace is dropped.