Skip to content

Vulnerability in surrealdb

CVE-2024-58366 First seen on SecPulse

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への更新をおすすめします。

What is the problem

フォーマット文字列の脆弱性

Affected scope

SurrealDBのrquickjsのException::throw_type関数

Severity

攻撃者が任意のメモリを読み取ったり、コードを実行可能

How to fix

バージョン1.1.1へのアップグレード

Workaround

情報なし

Detection

異常なエラーメッセージやメモリアクセスのログを監視

Affected packages

PackageAffected → Fixed
crates.iosurrealdb
< 1.1.1→ 1.1.1
surrealdbsurrealdb
< 1.1.1→ 1.1.1
DelSkaynrquickjs
< 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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details