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-core
to version 2.0.5, 2.1.5, 2.2.2 or higher.
Affected versions of this package are vulnerable to Uncaught Exception via the net
module. An attacker can crash the database by crafting a HTTP query that returns a null byte.
Note:
This is only exploitable if the attacker is authenticated and can send queries to the /sql
endpoint.
This vulnerability can be mitigated by limiting the ability of untrusted clients to run arbitrary queries and ensuring input sanitisation at the application layer to prevent injection attacks. Additionally, administrators may want to configure the SurrealDB process for automatic restart after a crash.