CVE-2024-58361
HIGH 7.1CVSS 4.0SurrealDB has an Uncaught Exception Handling Parsing Errors on Empty Strings
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.
- Published
- 18 Jul 2026
- Last modified
- 27 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-248
- Also known as
- GHSA-qjrv-v6qp-x99x
- Sources
- NVDJSONOSV GHSA-qjrv-v6qp-x99xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.4 | 2.0.4 |
| OSV | crates.io | surrealdb | >= 2.0.0, < 2.0.4 | 2.0.4 |
| OSV | crates.io | surrealdb-core | >= 2.0.0, < 2.0.4 | 2.0.4 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-qjrv-v6qp-x99x · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-parser-exception · Third Party Advisory
- https://github.com/surrealdb/surrealdb/pull/4923 · WEB
- https://github.com/surrealdb/surrealdb/commit/709d6efe901dbf3e207b4fc2ebc30775595efc16 · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Oct 2024)