CVE-2024-58356
LOW
2.3
CVSS 4.0
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.
Metadata
Severity & Metrics
2.3
LOW CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Affected products (2)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 2.1.4, 2.1.4 |
| surrealdb | surrealdb | — | 0 < 2.1.4, 2.1.4 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-276 | cna | Incorrect Default Permissions |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 2.3 | LOW | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
References (2)
- GitHub Security Advisory (GHSA-27vq-hv74-7cqp) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-27vq-hv74-7cqp
- VulnCheck Advisory: SurrealDB before 2.1.4 Permission Bypass via DEFINE TABLE OVERWRITE https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-define-table-overwrite