CVE-2024-58363
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb-core --precise 1.5.1
cargo update -p surrealdb --precise 1.5.4
cargo update -p surrealdb --precise 2.0.0-alpha.6
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| surrealdb-core | crates.io | All versions | 1.5.1 |
| surrealdb | crates.io | All versions | 1.5.4 |
| surrealdb | crates.io | All versions | 2.0.0-alpha.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-287Improper AuthenticationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
Frequently Asked Questions
- What is CVE-2024-58363?
- SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
- How do I check if my project is affected by CVE-2024-58363?
- CVE-2024-58363 affects surrealdb-core and surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-58363 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
- GHSA-4vgr-h27g-cf9pHIGH
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
- 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-58357MEDIUM
SurrealDB has an Uncaught Exception in Function Generating Random Time
- CVE-2024-58359MEDIUM
SurrealDB has an Uncaught Exception Sorting Tables by Random Order
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies