CVE-2024-58357
SurrealDB has an Uncaught Exception in Function Generating Random Time
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb-core --precise 2.1.0
cargo update -p surrealdb --precise 2.1.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| surrealdb-core | crates.io | All versions | 2.1.0 |
| surrealdb | crates.io | All versions | 2.1.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-248
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
Frequently Asked Questions
- What is CVE-2024-58357?
- SurrealDB has an Uncaught Exception in Function Generating Random Time This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2024-58357?
- CVE-2024-58357 affects surrealdb-core and surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-58357 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2025-71395HIGH
SurrealDB memory exhaustion via string::replace using regex
- CVE-2026-63763HIGH
SurrealDB Affected by Confused Deputy Privilege Escalation through Future Fields and Functions
- CVE-2024-58362HIGH
Untrusted Query Object Evaluation in RPC API
- CVE-2024-58367HIGH
Improper Authorization in Select Permissions
- CVE-2024-58361HIGH
SurrealDB has an Uncaught Exception Handling Parsing Errors on Empty Strings
- CVE-2024-58363MEDIUM
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
- CVE-2024-58359MEDIUM
SurrealDB has an Uncaught Exception Sorting Tables by Random Order
- CVE-2026-63762MEDIUM
SurrealDB vulnerable to Denial of Service through scripting function memory edge case
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies