What’s Vulnerable › Vulnerabilities

CVE-2024-58361: SurrealDB before 2.0.4 Denial of Service via Parser Exception

Description

SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause a panic in error rendering, crashing the server.

Affected products

How to fix

Upgrade to a fixed version: surrealdb 2.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-58361 or the next vulnerability affects your stack