Skip to content

CVE-2024-58366 SurrealDB before 1.1.1 Format String via Scripting Functions

CriticalCVSS 9.0 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known

Description

SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.

Affected products

ProductAffected versionsFixed in
crates.io surrealdb(crates.io) < 1.1.1 1.1.1
crates.io surrealdb < 1.1.1 1.1.1
crates.io rquickjs < 0.4.2 0.4.2
delskayn rquickjs < 0.4.2 0.4.2
surrealdb < 1.1.1 1.1.1

References