What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Delskayn Rquickjs 0.4.2; surrealdb 1.1.1. Check the vendor advisory for mitigations.

References

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