CVE Catalog

CVE-2024-58357

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

24th percentile - higher than 24% of all known CVEs

Summary

Vulnerability in SurrealDB before version 2.1.0 in the rand::time() function panics when unwrap is called on a None result from timestamp_opt. Authorized clients can repeatedly invoke rand::time() to trigger server panics and cause denial of service.

Risk Assessment

An attacker can intentionally crash the SurrealDB server, leading to service disruption.

Recommendation

Upgrade SurrealDB to version 2.1.0 or later.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS