Paper/Archive/CVE-2024-58366

CVE-2024-58366

surrealdb surrealdb — SurrealDB before 1.1.1 Format String via Scripting Functions

Description · from the CVE record

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

ProductAffectedFixed inSource
surrealdb< 1.1.11.1.1CNA
rquickjs< 0.4.20.4.2CNA

Scores by source

VulnCheck (CNA)9.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck (CNA)8.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

advisorygithub.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4writeupvulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functions