CVE-2024-58357 PUBLISHED

SurrealDB before 2.1.0 Denial of Service via rand::time()

Assigner: VulnCheck
Reserved: 08.06.2026 Published: 18.07.2026 Updated: 18.07.2026

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.

Metrics

CVSS 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
CVSS Score: 7.1

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.0 (excl.)
  • Version 2.1.0 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.0 (excl.)
  • Version 2.1.0 is unaffected

References

Problem Types

  • Uncaught Exception CWE