CVE-2024-58366
Externally Controlled Format String in Scripting Functions
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb --precise 1.1.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| surrealdb | crates.io | All versions | 1.1.1 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2024-58366?
- Externally Controlled Format String in Scripting Functions This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.5/10).
- How do I check if my project is affected by CVE-2024-58366?
- CVE-2024-58366 affects surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-58366 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
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
- GHSA-4vgr-h27g-cf9pHIGH
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
- GHSA-5qfp-32cf-69jhHIGH
SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
- CVE-2024-58362HIGH
Untrusted Query Object Evaluation in RPC API
- CVE-2025-71398MEDIUM
SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
- CVE-2024-58365MEDIUM
Uncaught Exception in Macro Expecting Native Function to Exist
- 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