Description
SurrealDB versions before 1.1.0 fail to enforce recursion depth limits when parsing nested SurrealQL statements including IF, RELATE, and attribute access idioms. Authorized attackers can submit queries with excessive nesting depth to cause stack overflow and crash the server.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 1.1.0 | 1.1.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | surrealdb | < 1.1.0 | 1.1.0 | GHSA-6r8p-hpg7-825g |
References
- GitHub Security Advisory (GHSA-6r8p-hpg7-825g) vendor-advisory
- VulnCheck Advisory: SurrealDB before 1.1.0 Uncontrolled Recursion Denial of Service third-party-advisory