8.7high
SurrealDB before 1.1.0 Denial of Service via HTTP Headers
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.39% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-m24x-r6q3-2vp9
Description
SurrealDB versions before 1.1.0 fail to properly parse the ID, DB, and NS headers in HTTP REST API requests containing special characters. Unauthenticated attackers can send crafted HTTP requests with malformed header values to trigger an uncaught exception that crashes the server.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| surrealdb surrealdb | before 1.1.0 Not affected: 1.1.0 | CVE List, NVD |
| surrealdb (crates.io) | before 1.1.0 | GitHub Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
SurrealDB versions before 1.1.0 fail to properly parse the ID, DB, and NS headers in HTTP REST API requests containing special characters. Unauthenticated attackers can send crafted HTTP requests with malformed header values to trigger an uncaught exception that crashes the server.
GitHub Advisory Database
The ID, DB and NS headers accepted by the SurrealDB HTTP REST API would fail to parse when containing some special characters. This would cause a panic which would crash the SurrealDB server, leading to denial of service.
This issue only affects the SurrealDB binary; it does not affect the SurrealDB library.
Impact
An unauthenticated client may issue an HTTP request to the SurrealDB HTTP REST API containing one of the affected headers with values containing special characters in order to crash the SurrealDB server. This does not require the SurrealDB server to be running with any specific capabilities other than exposing the affected interface.
Patches
- Version 1.1.0 and later are not affected by this issue.
Workarounds
Concerned users unable to update may want to limit untrusted access to the SurrealDB HTTP REST API unless such access is required by the application. To limit the impact of the denial of service, SurrealDB administrators may also want to ensure that the SurrealDB process is running so that it can be automatically re-started after a crash.
Resources
- #2985 (diff)
NVD (es)
Versiones de SurrealDB anteriores a la 1.1.0 no logran analizar correctamente los encabezados ID, DB y NS en solicitudes de API REST HTTP que contienen caracteres especiales. Atacantes no autenticados pueden enviar solicitudes HTTP manipuladas con valores de encabezado malformados para desencadenar una excepción no capturada que bloquea el servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58368 changed 2026-07-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m24x-r6q3-2vp9 changed 2026-09-04 | CC-BY-4.0 |
| NVD | CVE-2024-58368 changed 2026-10-27 | Public domain |