SurrealDB 3.3.1未満で認証済みユーザーが禁止された関数を実行できる脆弱性
Summary
SurrealDBの2.0.0以降3.3.1より前の版には、--deny-funcsで禁止した関数を、メソッド形式の呼び出しで実行できる脆弱性があります。認証済みのユーザーが対象で、file::*の禁止を回避してファイルバケットのデータを読み書きできるおそれがあります。修正版の3.3.1が公開されているため、早めにアップデートしてください。
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の2.0.0以降3.3.1より前の版には、--deny-funcsで禁止した関数を、メソッド形式の呼び出しで実行できる脆弱性があります。認証済みのユーザーが対象で、file::*の禁止を回避してファイルバケットのデータを読み書きできるおそれがあります。修正版の3.3.1が公開されているため、早めにアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealdb |
≥ 2.0.0, < 3.3.1→ 3.3.1 |
3.3.1 |
Original description The description as published by the source.
SurrealDB 2.0.0 before 3.3.1 does not enforce --deny-funcs restrictions on method-style function calls in the streaming engine, because MethodPart::evaluate invokes resolved functions without a capability check. Authenticated users who can submit queries can run denied functions via method syntax, e.g. [1,2].map() or $f.put()/$f.get() to write and read file bucket data despite file::* denials.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com