Description
SurrealDB versions before 3.2.0 contain a denial of service vulnerability in the SurrealML header parser that allows authenticated Owner-role users to crash the server by uploading a malformed .surml file to the /ml/import endpoint. Attackers can supply non-numeric input-dimensions or other malformed header fields that trigger unchecked unwrap calls, causing a panic that aborts the entire server process and denies service to all databases.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.2.0 | 3.2.0 |
References
- GitHub Security Advisory (GHSA-jwr6-6444-28xv) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.2.0 Denial of Service via malformed SurrealML import third-party-advisory