NetSight
high7.5No CVE yet

GHSA-m464-hj36-96vx

Duplicate Advisory: SurrealDB has Denial of Service in JSON parser due to nested objects

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-q729-696q-g9pq. This link is maintained to preserve external references. ## Original Description SurrealDB before 3.1.0 fails to enforce the configured recursion depth limit in the value and JSON parser when processing nested braces, brackets, or parentheses. Unauthenticated attackers can send deeply nested JSON payloads to the WebSocket /rpc endpoint to exhaust server memory and crash the process.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
rustsurrealdb< 3.1.0none recorded

Weakness classification

References