CVE-2024-58358
MEDIUM
4.9
CVSS 3.1
Description
SurrealDB versions before 2.1.0 contain a denial of service vulnerability in role conversion that allows privileged owner users to define users with nonexistent roles. Attackers can trigger an uncaught panic by signing in with a user assigned an invalid role, crashing the server.
Metadata
Severity & Metrics
4.9
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Affected products (2)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 2.1.0, 2.1.0 |
| surrealdb | surrealdb | — | 0 < 2.1.0, 2.1.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-248 | cna | Uncaught Exception |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.9 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| 4.9 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
References (2)
- GitHub Security Advisory (GHSA-jc55-246c-r88f) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jc55-246c-r88f
- VulnCheck Advisory: SurrealDB before 2.1.0 Denial of Service via Nonexistent Role https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-role