CVE-2024-58361
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 2.0.0 < 2.0.4 | affected |
| surrealdb | surrealdb | 2.0.4 | unaffected |
| surrealdb | surrealdb | 2.0.0 < 2.0.4 | affected |
| surrealdb | surrealdb | 2.0.4 | unaffected |
Weaknesses
- CWE-248: Uncaught Exception
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-qjrv-v6qp-x99x
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-parser-exception
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.