SurrealDBの関数制限を回避できる脆弱性、4.0.0で修正
Summary
SurrealDBで、SurrealQLでは禁止した組み込み関数を、組み込みのJavaScript経由なら実行できてしまう脆弱性が公表されました。関数の制限に頼って権限を分けている組織は、修正版の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で、SurrealQLでは禁止した組み込み関数を、組み込みのJavaScript経由なら実行できてしまう脆弱性が公表されました。関数の制限に頼って権限を分けている組織は、修正版の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 capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions from embedded JavaScript.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com