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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.
Start learningUpgrade surrealdb to version 3.1.0-beta.3 or higher.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the /sql WebSocket upgrade process. An attacker can exhaust system memory and degrade service availability by streaming excessively large WebSocket frames to anonymous connections, bypassing operator-configured per-connection message size limits. This can lead to process termination on memory-constrained deployments if sufficient bandwidth is maintained across multiple concurrent connections.
This vulnerability can be mitigated by refusing GET /sql requests with Upgrade: websocket at a reverse proxy, or by enforcing per-connection frame size limits at the reverse proxy.