๐Ÿ” CVE Alert

CVE-2024-58359

MEDIUM 6.5

SurrealDB before 2.1.0 Denial of Service via rand() Sorting

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-248
Vendor surrealdb
Product surrealdb
Published Jul 18, 2026
Stay Ahead of the Next One

Get instant alerts for surrealdb surrealdb

Be the first to know when new medium vulnerabilities affecting surrealdb surrealdb are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

surrealdb / surrealdb
0 < 2.1.0
surrealdb / surrealdb
0 < 2.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f vulncheck.com: https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting

Credits

๐Ÿ” finnbear ๐Ÿ” extrawurst