Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Surrealdb | Surrealdb | < 2.1.0 |
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4f5-h82v-5w4rVendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-randThird Party Advisory
FAQ
What is CVE-2024-58357?
CVE-2024-58357 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 r...
How severe is CVE-2024-58357?
CVE-2024-58357 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-58357?
Check the references section above for vendor advisories and patch information. Affected products include: Surrealdb Surrealdb.