CVE-2024-58357

HIGHCVSS 7.1/10EPSS 0.31%

Last modified

CVE-2024-58357 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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.. EPSS estimates a 0.31% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
SurrealdbSurrealdb< 2.1.0

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2024-58357?
CVE-2024-58357 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 0.31% probability of exploitation in the next 30 days.
How do I fix CVE-2024-58357?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2024

Are you affected by CVE-2024-58357?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST