Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2024-58357

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

surrealdb surrealdb

Default version status: unaffected

  • 0 to < 2.1.0affected
  • 2.1.0unaffected
pkg:cargo/surrealdb

surrealdb surrealdb

Default version status: unaffected

  • 0 to < 2.1.0affected
  • 2.1.0unaffected
pkg:cargo/surrealdb-core

References