What’s Vulnerable › Vulnerabilities

CVE-2024-58367: SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions

Description

SurrealDB versions before 2.0.4 fail to properly enforce field permissions during SELECT, UPDATE, and DELETE operations, allowing authorized users to access unauthorized field values through various query techniques. Attackers can exploit SELECT VALUE operations, field aliasing, function arguments, WHERE clause filtering, RETURN BEFORE clauses, and SET clause references to leak protected field contents despite lacking SELECT permissions.

Affected products

How to fix

Upgrade to a fixed version: surrealdb 2.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-58367 or the next vulnerability affects your stack