CVE-2024-58357Published Jul 18, 2026 · Jul 18Updated Oct 29
SurrealDB before 2.1.0 Denial of Service via rand::time()
surrealdb
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb crates.io |
|
|
| surrealdb-core crates.io |
|
|
Original description
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.