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.
CVE-2024-58357
Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-07-18. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EG Risk
- 29(Track)EG Risk 29/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 38%
- KEV
- Not listed
Published
July 18, 2026
Last Modified
August 12, 2026
Advisory Details (2)
Auto-updated Jul 18, 2026SurrealDB before 2.1.0 Denial of Service via rand::time() | Advisories | VulnCheck
https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-timeUncaught Exception in Function Generating Random Time · Advisory · surrealdb/surrealdb · GitHub
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4f5-h82v-5w4rVendor Advisories for CVE-2024-58357(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
crates.io(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| surrealdb | — | 2.1.0 | — |
| surrealdb-core | — | 2.1.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 66× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 135 total refreshes for this CVE.
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:35 UTCEPSS rescore
- 2026-09-10 09:33 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 23:58 UTCEG score recompute
- 2026-09-07 23:58 UTCGHSA enrichment
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-05 20:25 UTCEG score recompute
- 2026-09-05 20:25 UTCGHSA enrichment
- 2026-09-04 13:59 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-08-31 03:35 UTCEG score recompute
- 2026-08-31 03:35 UTCGHSA enrichment
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 03:12 UTCEG score recompute
- 2026-08-30 03:12 UTCGHSA enrichment
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-28 02:29 UTCEG score recompute
- 2026-08-28 02:29 UTCGHSA enrichment
- 2026-08-27 14:24 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-27 02:07 UTCEG score recompute
- 2026-08-27 02:07 UTCGHSA enrichment
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-26 01:45 UTCEG score recompute
- 2026-08-26 01:45 UTCGHSA enrichment
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-25 01:23 UTCEG score recompute
- 2026-08-25 01:23 UTCGHSA enrichment
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-24 01:01 UTCGHSA enrichment
- 2026-08-23 00:34 UTCEG score recompute
- 2026-08-23 00:34 UTCGHSA enrichment
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-22 00:08 UTCEG score recompute
- 2026-08-22 00:08 UTCGHSA enrichment
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 23:46 UTCEG score recompute
- 2026-08-20 23:45 UTCGHSA enrichment
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-19 23:23 UTCEG score recompute
- 2026-08-19 23:23 UTCGHSA enrichment
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 21:50 UTCEG score recompute
- 2026-08-18 21:50 UTCGHSA enrichment
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-17 21:12 UTCEG score recompute
- 2026-08-17 21:12 UTCGHSA enrichment
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 20:28 UTCEG score recompute
- 2026-08-16 20:28 UTCGHSA enrichment
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 20:06 UTCEG score recompute
- 2026-08-15 20:06 UTCGHSA enrichment
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-14 19:43 UTCEG score recompute
- 2026-08-14 19:43 UTCGHSA enrichment
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-13 19:21 UTCGHSA enrichment
- 2026-08-12 18:58 UTCEG score recompute
- 2026-08-12 18:58 UTCGHSA enrichment
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-12 08:44 UTCEG score recompute
- 2026-08-12 08:44 UTCGHSA enrichment
- 2026-08-11 13:41 UTCEPSS rescore
- 2026-08-11 08:21 UTCEG score recompute
- 2026-08-11 08:21 UTCGHSA enrichment
- 2026-08-10 23:58 UTCEPSS rescore
- 2026-08-10 07:59 UTCEG score recompute
- 2026-08-10 07:59 UTCGHSA enrichment
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-09 07:37 UTCEG score recompute
- 2026-08-09 07:37 UTCGHSA enrichment
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-08 07:15 UTCEG score recompute
- 2026-08-08 07:15 UTCGHSA enrichment
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-07 06:53 UTCEG score recompute
- 2026-08-07 06:53 UTCGHSA enrichment
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-06 06:31 UTCEG score recompute
- 2026-08-06 06:31 UTCGHSA enrichment
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-05 06:09 UTCEG score recompute
- 2026-08-05 06:09 UTCGHSA enrichment
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-04 05:06 UTCEG score recompute
- 2026-08-04 05:06 UTCGHSA enrichment
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-03 04:42 UTCGHSA enrichment
- 2026-08-02 04:20 UTCEG score recompute
- 2026-08-02 04:20 UTCGHSA enrichment
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
Frequently asked(5)
What is CVE-2024-58357?
When was CVE-2024-58357 disclosed?
Is CVE-2024-58357 actively exploited?
What is the CVSS score of CVE-2024-58357?
How do I remediate CVE-2024-58357?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-58357
Is Your Infrastructure Affected by CVE-2024-58357?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.