PT-2026-60938
CVE-2024-58357
·
Published
2024-11-22
·
Updated
2026-07-21
Description by
CVSS 4.0
7.1
HighMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾