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.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4f5-h82v-5w4r | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-time | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-07-18 14:17
Updated : 2026-08-12 18:52
NVD link : CVE-2024-58357
Mitre link : CVE-2024-58357
CVE.ORG link : CVE-2024-58357
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-248
Uncaught Exception
