CVE-2024-58366 SurrealDB before 1.1.1 Format String via Scripting Functions
CriticalCVSS 9.0
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb(crates.io) | < 1.1.1 | 1.1.1 |
| crates.io surrealdb | < 1.1.1 | 1.1.1 |
| crates.io rquickjs | < 0.4.2 | 0.4.2 |
| delskayn rquickjs | < 0.4.2 | 0.4.2 |
| surrealdb | < 1.1.1 | 1.1.1 |
References
- GitHub Security Advisory (GHSA-q3gg-m8hr-h4x4) vendor-advisory
- github.com
- github.com patch
- github.com product
- github.com
- VulnCheck Advisory: SurrealDB before 1.1.1 Format String via Scripting Functions third-party-advisory