CVE Catalog

CVE-2024-58359

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

24th percentile - higher than 24% of all known CVEs

Summary

SurrealDB before version 2.1.0 has a denial of service vulnerability in the sorting mechanism when using ORDER BY rand(). Authorized clients can execute queries with ORDER BY rand() to trigger a panic in the sorting function, crashing the server.

Risk Assessment

An attacker with client privileges can repeatedly crash the server, causing service disruption and potential availability loss.

Recommendation

Update SurrealDB to version 2.1.0 or later, which includes the fix.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS