SurrealDBに認証なしでメモリを使い果たされる脆弱性、4.0.0で修正
Summary
SurrealDB 3.0.4から4.0.0より前の版では、GraphQLのWebSocketアップグレード処理で設定された上限が適用されず、未認証の遠隔からメモリを大量に消費させられます。修正版の4.0.0以降へ更新してください。公開直後のため、悪用の有無は公表されていません。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SurrealDB 3.0.4から4.0.0より前の版では、GraphQLのWebSocketアップグレード処理で設定された上限が適用されず、未認証の遠隔からメモリを大量に消費させられます。修正版の4.0.0以降へ更新してください。公開直後のため、悪用の有無は公表されていません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealdb |
≥ 3.0.4, < 4.0.0→ 4.0.0 |
4.0.0 |
Original description The description as published by the source.
SurrealDB 3.0.4 before 4.0.0 does not apply operator-configured WebSocket frame, message, and buffer size limits to the GraphQL WebSocket upgrade handler at GET /graphql, falling back to permissive library defaults. Unauthenticated remote attackers who supply the target namespace and database in request headers can hold up to 64 MiB of in-flight data per concurrent connection, exhausting server memory and degrading availability.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com