CVE-2024-58357

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

State
Published
Severity
7.1 High
Published
Jul 18, 2026
Updated
Jul 28, 2026
Reserved
Jun 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 2.1.0Affected
  • 2.1.0Not affected
surrealdbsurrealdb
  • before 2.1.0Affected
  • 2.1.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.