{"id":"CVE-2024-58357","published":"2026-07-18T13:10:01Z","modified":"2026-07-28T01:47:47Z","title":"SurrealDB before 2.1.0 Denial of Service via rand::time()","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"SurrealDB versions before 2.1.0 contain an uncaught exception vulnerability in the rand::time() function that panics when unwrap is called on a None result from timestamp_opt. Authorized clients can repeatedly invoke rand::time() to reliably trigger server panics and cause denial of service.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0045,"percentile":0.40017,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4f5-h82v-5w4r","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-time","tags":["third-party-advisory"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.0},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["< 2.1.0"]},{"vendor":"surrealdb","product":"surrealdb","versions":["< 2.1.0"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["2.1.0"]},{"vendor":"surrealdb","product":"surrealdb","versions":["2.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T18:57:32.918016Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-55674","exploited":false,"provenance":"source"}}