CVE-2024-58367
HIGH
7.1
CVSS 4.0
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.
Metadata
Severity & Metrics
7.1
HIGH CVSS 4.0
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
Affected products (2)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 2.0.4, 2.0.4 |
| surrealdb | surrealdb | — | 0 < 2.0.4, 2.0.4 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-285 | cna | Improper Authorization |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.1 | HIGH | 4.0 | cna | 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 |
References (2)
- GitHub Security Advisory (GHSA-9722-9j67-vjcr) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcr
- VulnCheck Advisory: SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions https://www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permissions