Database / Storage
CVE-2024-58368 high CVSS 7.5

Vulnerability in surrealdb (CVE-2024-58368)

Summary

Vulnerability in surrealdb (CVE-2024-58368). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to >=1.1.0 or later.

Original description

The description as published by the source.

The ID, DB and NS headers accepted by the SurrealDB HTTP REST API would fail to parse when containing some special characters. This would cause a panic which would crash the SurrealDB server, leading to denial of service.

This issue only affects the SurrealDB binary; it does not affect the SurrealDB library.

Impact

An unauthenticated client may issue an HTTP request to the SurrealDB HTTP REST API containing one of the affected headers with values containing special characters in order to crash the SurrealDB server. This does not require the SurrealDB server to be running with any specific capabilities other than exposing the affected interface.

Patches

  • Version 1.1.0 and later are not affected by this issue.

Workarounds

Concerned users unable to update may want to limit untrusted access to the SurrealDB HTTP REST API unless such access is required by the application. To limit the impact of the denial of service, SurrealDB administrators may also want to ensure that the SurrealDB process is running so that it can be automatically re-started after a crash.

Resources

Source: NIST National Vulnerability Database NVD GitHub Advisory

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

SurrealDBのバージョン1.1.0未満では、特別な文字を含むHTTP REST APIリクエストにおいてID、DB、NSヘッダを正しく解析できません。この問題により、認証されていない攻撃者が細工されたHTTPリクエストを送信してサーバーをクラッシュさせる可能性があります。

❓ 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

rust surrealdb
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]
crates.io surrealdb
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]

References

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