Skip to content

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

HighCVSS 7.1 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
crates.io surrealdb >= 2.0.0, < 2.0.4 2.0.4 Fixed
crates.io surrealdb(crates.io) >= 2.0.0, < 2.0.4 2.0.4 Fixed
crates.io surrealdb-core >= 2.0.0, < 2.0.4 2.0.4 Fixed
crates.io surrealdb-core(crates.io) >= 2.0.0, < 2.0.4 2.0.4 Fixed
surrealdb >= 2.0.0, < 2.0.4 2.0.4 Fixed

Affected products

ProductAffected versionsFixed in
crates.io surrealdb(crates.io) >= 2.0.0, < 2.0.4 2.0.4
crates.io surrealdb-core(crates.io) >= 2.0.0, < 2.0.4 2.0.4
crates.io surrealdb >= 2.0.0, < 2.0.4 2.0.4
crates.io surrealdb-core >= 2.0.0, < 2.0.4 2.0.4
surrealdb >= 2.0.0, < 2.0.4 2.0.4

References