Description
SurrealDB before 3.1.0 fails to enforce recursion depth limits in the type/kind parser when processing nested type annotations. Authenticated attackers can send queries with deeply nested type annotations to exhaust server memory and crash the process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.1.0 | 3.1.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | surrealdb | < 3.1.0 | 3.1.0 | GHSA-q8qp-67f9-wr3f |
References
- GitHub Security Advisory (GHSA-q8qp-67f9-wr3f) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.1.0 Denial of Service nested type annotations third-party-advisory