CVE-2024-58359
7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 0 < 2.1.0 | affected |
| surrealdb | surrealdb | 2.1.0 | unaffected |
| surrealdb | surrealdb | 0 < 2.1.0 | affected |
| surrealdb | surrealdb | 2.1.0 | unaffected |
Weaknesses
- CWE-248: Uncaught Exception
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.