Skip to main content
← All vulnerabilities
CVE-2024-58366GHSA-Q3GG-M8HR-H4X4

SurrealDB before 1.1.1 Format String via Scripting Functions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.1, 0.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • surrealdb surrealdb

    fixed in 1.1.1

  • DelSkayn rquickjs

    fixed in 0.4.2

  • surrealdbcrates.io

    fixed in 1.1.1

References 2

GitHub · surrealdb/surrealdb

vulncheck.com