CVE-2024-58367 — SurrealDB: Improper Authorization in surrealdb —...
SurrealDB: Improper Authorization in Select Permissions
Summary
Advisory Timeline
- First published October 8, 2024 (734 days ago).
- Last revised September 4, 2026 — 696 days after initial publication.
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)
Affects 1 ecosystem: crates.io (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://nvd.nist.gov/vuln/detail/CVE-2024-58367ADVISORY
- 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
- https://www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permissionsWEB
Frequently Asked Questions
- What is CVE-2024-58367?
- SurrealDB: 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-2024-58362HIGH
Untrusted Query Object Evaluation in RPC API
- CVE-2024-58368HIGH
Uncaught Exception processing HTTP Headers in SurrealDB
- 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-2025-71390MEDIUM
SurrealDB allows bypass of deny-net flags via DNS resolution
- CVE-2024-58359MEDIUM
SurrealDB has an Uncaught Exception Sorting Tables by Random Order
- CVE-2025-71393MEDIUM
SurrealDB vulnerable to memory exhaustion via nested functions and scripts
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies