CVE-2024-58367 SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions
HighCVSS 7.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
5 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 2.0.4 | 2.0.4 | Fixed |
| crates.io surrealdb(crates.io) | < 2.0.4 | 2.0.4 | Fixed |
| crates.io surrealdb-core | < 2.0.4 | 2.0.4 | Fixed |
| crates.io surrealdb-core(crates.io) | < 2.0.4 | 2.0.4 | Fixed |
| surrealdb | < 2.0.4 | 2.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb(crates.io) | < 2.0.4 | 2.0.4 |
| crates.io surrealdb-core(crates.io) | < 2.0.4 | 2.0.4 |
| crates.io surrealdb | < 2.0.4 | 2.0.4 |
| crates.io surrealdb-core | < 2.0.4 | 2.0.4 |
| surrealdb | < 2.0.4 | 2.0.4 |
References
- GitHub Security Advisory (GHSA-9722-9j67-vjcr) vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com product
- surrealdb.com
- surrealdb.com
- surrealdb.com
- VulnCheck Advisory: SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions third-party-advisory
- github.com