Description (CNA)
SurrealDB versions before 3.1.0 fail to apply the SURREAL_WEBSOCKET_MAX_MESSAGE_SIZE limit to anonymous /sql WebSocket connections, allowing attackers to buffer unbounded frames in the per-connection read buffer. Attackers can stream WebSocket frames larger than the configured limit across multiple concurrent connections to consume excessive memory and degrade /sql availability.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.1.0; unaffected 3.1.0 |
CWE
CWE-770
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-65rj-r9fh-jp2v
- https://www.vulncheck.com/advisories/surrealdb-before-memory-amplification-via-sql-websocket
ADP enrichment
No English description supplied.
No references supplied.