CVE Catalog

CVE-2024-58356

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

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.

Risk Assessment

The risk is that an administrator may falsely believe they have tightened table access permissions, while the change was not applied, potentially leading to unauthorized data access.

Recommendation

Upgrade SurrealDB to version 2.1.4 or later. After upgrading, verify that table definitions with TYPE RELATION are correctly overwritten.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS