CVE-2024-58357: SurrealDB before 2.1.0 Denial of Service via rand::time()
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 timestampopt. Authorized clients can repeatedly invoke rand::time() to reliably trigger server panics and cause denial of service.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SurrealDBto a version that resolves this vulnerability.Fixed in 2.1.0
Event History
Frequently Asked Questions
What is the severity of CVE-2024-58357?
The severity of CVE-2024-58357 is rated high with a score of 7.1.
How do I fix CVE-2024-58357?
To fix CVE-2024-58357, upgrade SurrealDB to version 2.1.0 or later.
What type of vulnerability is CVE-2024-58357?
CVE-2024-58357 is a Denial of Service (DoS) vulnerability.
Which versions of SurrealDB are affected by CVE-2024-58357?
SurrealDB versions before 2.1.0 are affected by CVE-2024-58357.
What impact does CVE-2024-58357 have on SurrealDB?
CVE-2024-58357 can lead to server panics and cause a Denial of Service for authorized clients.