CVE-2024-58366
Last modified
CVE-2024-58366 is a critical-severity vulnerability rated 9/10 on the CVSS scale. 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.. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 1.1.1 |
| surrealdb | surrealdb | < 0.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2024-58366?
How severe is CVE-2024-58366?
How do I fix CVE-2024-58366?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-58360stoatchat versions before 0.7.8 fail to enforce account crea…6.9
- CVE-2024-58361SurrealDB versions before 2.0.4 contain an uncaught exceptio…7.1
- CVE-2024-58362SurrealDB before 1.5.5 (and 2.0.0-beta before 2.0.0-beta.3) …8.8
- CVE-2024-58363SurrealDB before 1.5.4 fails to properly validate authentica…6.3
- CVE-2024-58364SurrealDB versions before 1.2.1 contain an uncaught exceptio…6.5
- CVE-2024-58365SurrealDB versions before 1.2.0 contain an uncaught exceptio…7.1
- CVE-2024-58367SurrealDB versions before 2.0.4 fail to properly enforce fie…7.1
- CVE-2024-58368SurrealDB versions before 1.1.0 fail to properly parse the I…8.7
- CVE-2024-58369SurrealDB versions before 1.1.1 fail to properly validate in…7.1
- CVE-2024-5837Type Confusion in V8 in Google Chrome prior to 126.0.6478.54…8.8
- CVE-2024-58370SurrealDB versions before 1.1.0 fail to enforce recursion de…6.5
- CVE-2024-5838Type Confusion in V8 in Google Chrome prior to 126.0.6478.54…8.8
Are you affected by CVE-2024-58366?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
