CVE-2024-58367
published high CVSS 4.0 · 7.1SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb0 to < 2.0.4 (affected · semver) · 2.0.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| surrealdb | — | surrealdb0 to < 2.0.4 (affected · semver) · 2.0.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 0 to < 2.0.4 (affected · semver)2.0.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| surrealdb | surrealdb | 0 to < 2.0.4 (affected · semver)2.0.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-285 Improper Authorization
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
Provider assertions
2VulnCheck · cna
SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e06cf382654f8d1eb3527ab48592cce6ad88ed3e8a892dc42bdfd141ef08fe7
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record