Skip to content

Vulnerability in surrealdb

CVE-2024-58368 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.0より前のバージョンでは、HTTP REST APIのID・DB・NSヘッダーに特殊文字を含むと、処理されない例外によりサーバーが停止する脆弱性があります。認証なしで攻撃できるため、影響を受ける環境では1.1.0以降へのアップデートをおすすめします。

What is the problem

SurrealDBにおけるID、DB、NSヘッダ解析の不備

Affected scope

SurrealDB 1.1.0未満

Severity

未認証の攻撃者がサーバをクラッシュさせることで、サービス拒否を引き起こす可能性があるため重要

How to fix

1.1.0以上のバージョンにアップデートすることで修正される

Workaround

認証を厳格にすることでリスクを低減できる可能性がある

Detection

HTTPリクエストヘッダに特別な文字が含まれるリクエストを監視し、異常を検知する

Affected packages

PackageAffected → Fixed
rustsurrealdb
< 1.1.0→ 1.1.0
crates.iosurrealdb
< 1.1.0→ 1.1.0
Original description The description as published by the source.

SurrealDB versions before 1.1.0 fail to properly parse the ID, DB, and NS headers in HTTP REST API requests containing special characters. Unauthenticated attackers can send crafted HTTP requests with malformed header values to trigger an uncaught exception that crashes the server.

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