Skip to content
CVE PROGRAM SOURCE RECORD9.0 Critical

CVE-2024-58366

SurrealDB before 1.1.1 Format String via Scripting Functions

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

surrealdb surrealdb

Default version status: unaffected

  • 0 to < 1.1.1affected
  • 1.1.1unaffected
pkg:cargo/surrealdb

DelSkayn rquickjs

Default version status: unaffected

  • 0 to < 0.4.2affected
  • 0.4.2unaffected
pkg:cargo/rquickjs

References