CVE-2024-58361 SurrealDB before 2.0.4 Denial of Service via Parser Exception
HighCVSS 7.1
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause a panic in error rendering, crashing the server.
Upgrade path
5 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 2.0.0, < 2.0.4 | 2.0.4 | Fixed |
| crates.io surrealdb(crates.io) | >= 2.0.0, < 2.0.4 | 2.0.4 | Fixed |
| crates.io surrealdb-core | >= 2.0.0, < 2.0.4 | 2.0.4 | Fixed |
| crates.io surrealdb-core(crates.io) | >= 2.0.0, < 2.0.4 | 2.0.4 | Fixed |
| surrealdb | >= 2.0.0, < 2.0.4 | 2.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb(crates.io) | >= 2.0.0, < 2.0.4 | 2.0.4 |
| crates.io surrealdb-core(crates.io) | >= 2.0.0, < 2.0.4 | 2.0.4 |
| crates.io surrealdb | >= 2.0.0, < 2.0.4 | 2.0.4 |
| crates.io surrealdb-core | >= 2.0.0, < 2.0.4 | 2.0.4 |
| surrealdb | >= 2.0.0, < 2.0.4 | 2.0.4 |
References
- GitHub Security Advisory (GHSA-qjrv-v6qp-x99x) vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- VulnCheck Advisory: SurrealDB before 2.0.4 Denial of Service via Parser Exception third-party-advisory