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.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-07-18 14:17
Updated : 2026-08-12 18:46
NVD link : CVE-2024-58359
Mitre link : CVE-2024-58359
CVE.ORG link : CVE-2024-58359
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-248
Uncaught Exception
