CVE-2024-58362 — Untrusted Query Object Evaluation in...
Untrusted Query Object Evaluation in RPC API
Summary
Advisory Timeline
- First published September 11, 2024 (761 days ago).
- Last revised July 19, 2026 — 675 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb-core --precise 1.5.2
cargo update -p surrealdb --precise 1.5.5
cargo update -p surrealdb --precise 2.0.0-beta.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: crates.io (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| surrealdb-core | crates.io | All versions | 1.5.2 |
| surrealdb | crates.io | All versions | 1.5.5 |
| surrealdb | crates.io | All versions | 2.0.0-beta.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-75
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-64f8-pjgr-9wmrWEB
- https://github.com/surrealdb/surrealdb/commit/b7583a653a2c495a60630dffd663f506426db330WEB
- https://github.com/surrealdb/surrealdb/commit/eab7ef5354168d4039f7f7b77042c99a52f770a6WEB
- https://github.com/surrealdb/surrealdbPACKAGE
- https://surrealdb.com/docs/surrealdb/integration/rpc#signinWEB
- https://surrealdb.com/docs/surrealdb/integration/rpc#signupWEB
- https://surrealdb.com/docs/surrealdb/security/authentication#record-usersWEB
Frequently Asked Questions
- What is CVE-2024-58362?
- Untrusted Query Object Evaluation in RPC API This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2024-58362?
- CVE-2024-58362 affects surrealdb-core and surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-58362 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
- CVE-2024-58367HIGH
SurrealDB: 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-58357MEDIUM
SurrealDB has an Uncaught Exception in Function Generating Random Time
- 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