CVE-2024-58359

HIGH CVSS 4.0: 7.1 EPSS 0.45%
Updated Oct 27, 2026
Surrealdb
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions before 2.1.0
Fixed In 2.1.0
Type CWE-248 (Uncaught Exception)
Vendor Surrealdb
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Surrealdb Surrealdb
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
— 2.1.0