SurrealDBにクエリでサーバーを停止させられる脆弱性
Summary
SurrealDB 1.0.0から4.0.0より前の版には、math::sumとmath::productで10進数のオーバーフローを検査していない脆弱性があります。クエリを実行できる利用者が大きな値を計算させると、サーバープロセス全体が停止します。修正版の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 1.0.0から4.0.0より前の版には、math::sumとmath::productで10進数のオーバーフローを検査していない脆弱性があります。クエリを実行できる利用者が大きな値を計算させると、サーバープロセス全体が停止します。修正版の4.0.0以降にアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealdb |
≥ 1.0.0, < 4.0.0→ 4.0.0 |
4.0.0 |
Original description The description as published by the source.
SurrealDB 1.0.0 before 4.0.0 contains a denial of service vulnerability that allows any user able to run queries to crash the server by triggering unchecked decimal overflow in math::sum or math::product. Attackers can submit a query summing or multiplying large decimal literals or aggregate stored decimals with GROUP ALL, causing a rust_decimal panic that terminates the entire server process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com