Vulnerability Description
SurrealDB before 2.1.4 silently fails to overwrite table definitions when the DEFINE TABLE ... OVERWRITE clause is used on tables defined with TYPE RELATION. Because table definitions include the PERMISSIONS clause, an attempt to tighten a table's permissions via OVERWRITE does not take effect, and the administrator may incorrectly believe the change was applied. As a result, a client authorized to run queries may continue to access data in that table that the updated (but unapplied) permissions were intended to restrict.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Surrealdb | Surrealdb | >= 2.0.0, < 2.1.4 |
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-27vq-hv74-7cqpVendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-defiThird Party Advisory
FAQ
What is CVE-2024-58356?
CVE-2024-58356 is a vulnerability with a CVSS score of 6.3 (MEDIUM). SurrealDB before 2.1.4 silently fails to overwrite table definitions when the DEFINE TABLE ... OVERWRITE clause is used on tables defined with TYPE RELATION. Because table definitions include the PERM...
How severe is CVE-2024-58356?
CVE-2024-58356 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-58356?
Check the references section above for vendor advisories and patch information. Affected products include: Surrealdb Surrealdb.