SurrealDB versions before 2.2.2 have an uncaught exception vulnerability in the net module that allows authenticated users to crash the database by sending specially crafted HTTP queries with null bytes to the /sql endpoint. This causes an unhandled exception leading to a denial of service condition.