CVE-2024-58357
MEDIUMSurrealDB before 2.1.0 Denial of Service via rand::time()
Title source: cnaDescription
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 (2)
Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-h4f5-h82v-5w4r)
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4f5-h82v-5w4r
Third Party Advisory third-party-advisory
VulnCheck Advisory: SurrealDB before 2.1.0 Denial of Service via rand::time()
https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-time
Scores
CVSS v3
6.5
EPSS
0.0031
EPSS Percentile
23.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-248
Status
published
Products (2)
surrealdb/surrealdb
< 2.1.0
surrealdb/surrealdb
2.1.0
Published
Jul 18, 2026
Tracked Since
Jul 18, 2026