CVE-2024-58359

SurrealDB before 2.1.0 Denial of Service via rand() Sorting

State
Published
Severity
7.1 High
Published
Jul 18, 2026
Updated
Jul 28, 2026
Reserved
Jun 8, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 2.1.0Affected
  • 2.1.0Not affected
surrealdbsurrealdb
  • before 2.1.0Affected
  • 2.1.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.