| Package | Affected versions | Patched versions |
|---|---|---|
| surrealdb | ≥ 2.1.0, < 2.1.5≥ 2.2.0, < 2.2.2< 2.0.5 | 2.1.52.2.22.0.5 |
SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free