CVE-2024-58367
7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 0 < 2.0.4 | affected |
| surrealdb | surrealdb | 2.0.4 | unaffected |
| surrealdb | surrealdb | 0 < 2.0.4 | affected |
| surrealdb | surrealdb | 2.0.4 | unaffected |
Weaknesses
- CWE-285: Improper Authorization
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcr
- https://www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permissions
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.