{"id":"EUVD-2024-55676","enisaUuid":"071b5a34-4d72-34d1-ad15-263e716ad15b","description":"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.","datePublished":"Jul 18, 2026, 1:10:02 PM","dateUpdated":"Jul 28, 2026, 1:47:48 AM","baseScore":7.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f\nhttps://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting\n","aliases":"CVE-2024-58359\nGHSA-gjm5-72ch-9675\n","assigner":"VulnCheck","epss":0.45,"enisaIdProduct":[{"id":"d6c3be98-15f6-3f7c-8157-065f69a677b8","product":{"name":"surrealdb","vendor":{"name":"surrealdb"}},"product_version":"0 \u003c2.1.0"}],"enisaIdVendor":[{"id":"d6e227a9-93af-3fc5-abcb-7a09783dd06b","vendor":{"name":"surrealdb"}}],"enisaIdVulnerability":[{"id":"7fd06387-1b88-3e32-be5b-5fd169611284","vulnerability":{"id":"GHSA-gjm5-72ch-9675","description":"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.","datePublished":"Jul 18, 2026, 3:31:48 PM","dateUpdated":"Jul 18, 2026, 3:31:48 PM","baseScore":0.0,"references":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-58359\nhttps://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting\n","enisa_id":"EUVD-2024-55676\n","aliases":"GHSA-gjm5-72ch-9675\nCVE-2024-58359\n","epss":0.0,"dataProcessed":"Oct 25, 2026, 1:57:47 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"b22e7dea-8344-398b-a8a5-878cf93b8185","vulnerability":{"id":"CVE-2024-58359","description":"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.","datePublished":"Jul 18, 2026, 1:10:02 PM","dateUpdated":"Jul 28, 2026, 1:47:48 AM","status":"PUBLISHED","baseScore":7.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f\nhttps://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting\n","enisa_id":"EUVD-2024-55676\n","assigner":"VulnCheck","epss":0.45,"dataProcessed":"Oct 29, 2026, 7:19:05 AM","vulnerabilityProduct":[{"id":"1517e372-5b1d-348a-93c3-2a7f5f964f0d","product":{"name":"surrealdb","vendor":{"name":"surrealdb"}},"product_version":"0 \u003c2.1.0"}],"vulnerabilityVendor":[{"id":"d2ad3fe0-2f1f-3b6b-9ace-97e4583283f1","vendor":{"name":"surrealdb"}}]}}],"enisaIdAdvisory":[]}