PT-2026-60938 · Surrealdb · Surrealdb

CVE-2024-58357

·

Published

2024-11-22

·

Updated

2026-07-21

CVSS v4.0

7.1

High

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions SurrealDB versions prior to 2.1.0
Description An uncaught exception exists in the rand::time() function. The issue occurs when unwrap is called on a None result from timestamp opt, leading to a server panic. Authorized clients can repeatedly invoke the rand::time() function to trigger this state and cause a denial of service.
Recommendations Update SurrealDB to version 2.1.0 or later. As a temporary workaround, restrict the use of the rand::time() function to minimize the risk of server panics.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-58357
GHSA-H4F5-H82V-5W4R

Affected Products

Surrealdb