{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-58359","published":"2026-07-18T14:17:08.780000Z","last_modified":"2026-10-27T18:10:00.130000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.1,"severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-248"],"cpes":[{"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","part":"a","vendor":"surrealdb","product":"surrealdb","version_end_excluding":"2.1.0"}],"cpes_truncated":false,"vendors":["surrealdb"],"products":["surrealdb/surrealdb"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0045,"percentile":0.31059,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m52v-24p8-654f","ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[{"introduced":"0","fixed":"2.1.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-m52v-24p8-654f","ecosystem":"crates.io","name":"surrealdb-core","purl":"pkg:cargo/surrealdb-core","ranges":[{"introduced":"0","fixed":"2.1.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2024-58359/","html_en":"/en/cve/CVE-2024-58359/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-58359","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-58359"},"untrusted":{"vendor_name":"Surrealdb","product_name":"Surrealdb","desc_en":"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":[{"untrusted_vendor":"surrealdb","untrusted_product":"surrealdb","versions":[]}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f","tags":["Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sorting","tags":["Third Party Advisory"]}]}}