CVE-2024-58357

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

History

27 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de SurrealDB anteriores a la 2.1.0 contienen una vulnerabilidad de excepción no capturada en la función rand::time() que entra en pánico cuando se llama a unwrap sobre un resultado None de timestamp_opt. Los clientes autorizados pueden invocar repetidamente rand::time() para provocar de forma fiable pánicos en el servidor y causar denegación de servicio.

Information

Published : 2026-07-18 14:17

Updated : 2026-10-27 18:10


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