CVE-2024-58359

Summary

SurrealDB versions before 2.1.0 contain a denial of service vulnerability in the sorting mechanism when using ORDER BY rand() clause. Authorized clients can execute queries with ORDER BY rand() to trigger a panic in the sorting function, crashing the server.

Affected Software

VendorProductVersion RangeStatus
surrealdbsurrealdb0 < 2.1.0affected
surrealdbsurrealdb2.1.0unaffected
surrealdbsurrealdb0 < 2.1.0affected
surrealdbsurrealdb2.1.0unaffected

Weaknesses

  • CWE-248: Uncaught Exception

References