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.1.1より前のバージョンには、スクリプト機能が有効な場合に書式文字列の脆弱性があります。スクリプト実行権限を持つ攻撃者は、エラー入力に書式指定子を含めることで、任意のメモリを読み取られたり、SurrealDBのプロセス権限でコードを実行されたりするおそれがあります。修正版の1.1.1への更新をおすすめします。
フォーマット文字列の脆弱性
SurrealDBのrquickjsのException::throw_type関数
攻撃者が任意のメモリを読み取ったり、コードを実行可能
バージョン1.1.1へのアップグレード
情報なし
異常なエラーメッセージやメモリアクセスのログを監視
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| crates.iosurrealdb |
< 1.1.1→ 1.1.1 |
1.1.1 |
| surrealdbsurrealdb |
< 1.1.1→ 1.1.1 |
1.1.1 |
| DelSkaynrquickjs |
< 0.4.2→ 0.4.2 |
0.4.2 |
Original description The description as published by the source.
SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com