Description
SurrealDB versions before 3.1.0 contain a denial of service vulnerability in the RPC use handler that panics when db is set without a namespace. Unauthenticated attackers can send a malformed WebSocket message to the /rpc endpoint to crash the server process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.1.0 | 3.1.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | surrealdb | < 3.1.0 | 3.1.0 | GHSA-wjjj-24cx-f28g |
References
- GitHub Security Advisory (GHSA-wjjj-24cx-f28g) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.1.0 Denial of Service via malformed RPC use third-party-advisory