CVE-2024-58367
Improper Authorization in Select Permissions
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb --precise 2.0.4
cargo update -p surrealdb-core --precise 2.0.4
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| surrealdb | crates.io | All versions | 2.0.4 |
| surrealdb-core | crates.io | All versions | 2.0.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-285Improper AuthorizationMITRE
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:H/I:N/A:N
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcrWEB
- https://github.com/surrealdb/surrealdb/issues/2161WEB
- https://github.com/surrealdb/surrealdb/issues/3924WEB
- https://github.com/surrealdb/surrealdb/pull/4785WEB
- https://github.com/surrealdb/surrealdb/pull/4800WEB
- https://github.com/surrealdb/surrealdb/pull/4873WEB
- https://github.com/surrealdb/surrealdb/commit/439ab99e15314ec5cf87047bf58246db646e3f8cWEB
- https://github.com/surrealdb/surrealdb/commit/c382fa158dc84b329328606f663efe574f102a7dWEB
- https://github.com/surrealdb/surrealdb/commit/e75e7736b3a028c4b6a4a4bdf00791d76f77e339WEB
- https://github.com/surrealdb/surrealdbPACKAGE
- https://surrealdb.com/docs/surrealdb/security/summary#permissionsWEB
- https://surrealdb.com/docs/surrealql/statements/define/field#setting-permissions-on-fieldsWEB
- https://surrealdb.com/docs/surrealql/statements/define/table#defining-permissionsWEB
Frequently Asked Questions
- What is CVE-2024-58367?
- Improper Authorization in Select Permissions This vulnerability has been assigned a severity rating of HIGH (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2024-58367?
- CVE-2024-58367 affects surrealdb and surrealdb-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-58367 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-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
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies