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 applicationsUpgrade surrealdb to version 2.1.0 or higher.
Affected versions of this package are vulnerable to Uncaught Exception which allows a privileged user with the owner role to define a user via DEFINE USER with an nonexistent role, which would panic when being converted to a Role enum in order to perform certain IAM operations with that user.
##Workaround
Affected users who are unable to update to the fixed version are advised to limit access to users with the owner role at any level to trusted parties only.
Additionally, SurrealDB administrators are advised to ensure that the SurrealDB process is running so that it can be automatically re-started after a crash.