Denial of Service Vulnerability in SurrealDB by SurrealDB Inc.
CVE-2024-58359

7.1HIGH

Key Information:

Vendor

Surrealdb

Status
Vendor
CVE Published:
18 July 2026

What is CVE-2024-58359?

SurrealDB versions prior to 2.1.0 are susceptible to a denial of service vulnerability linked to the sorting mechanism used in the ORDER BY rand() clause. This issue allows authorized users to execute queries that incorporate ORDER BY rand(), which can lead to a panic in the sorting function, ultimately crashing the server. It is essential for users of affected versions to review their instances and implement the necessary updates to mitigate this risk.

Affected Version(s)

surrealdb 0 < 2.1.0

surrealdb 0 < 2.1.0

surrealdb 2.1.0

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

finnbear
extrawurst
.