{"id":"CVE-2024-58368","aliases":["CVE-2024-58368","GHSA-m24x-r6q3-2vp9"],"related":[],"kind":"vulnerability","state":"published","title":"SurrealDB before 1.1.0 Denial of Service via HTTP Headers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nThis issue only affects the SurrealDB binary; it does not affect the SurrealDB library.\n\n### Impact\n\nAn 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.\n\n### Patches\n\n- Version 1.1.0 and later are not affected by this issue.\n\n### Workarounds\n\nConcerned 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.\n\n### Resources\n\n- #2985 ([diff](https://github.com/surrealdb/surrealdb/pull/2985/files#diff-7ad06ddbb88d77138e5daf40a0dac5443d78947acd69a284a7c2bceb61f9c5f0L83-R119))","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-01-18T15:48:48.000Z","modified":"2026-10-27T18:10:00.130Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.1.0","status":"affected"},{"type":"semver","version":"1.1.0","status":"unaffected"}],"vendor":"surrealdb","product":"surrealdb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.0"}],"ecosystem":"crates.io","package":"surrealdb","purl":"pkg:cargo/surrealdb","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.1.0"}],"vendor":"surrealdb","product":"surrealdb","cpe":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m24x-r6q3-2vp9","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-http-headers","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58368","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/surrealdb/surrealdb/pull/2985","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/surrealdb/surrealdb/commit/a70ddb2e2aed2453730b81781e426486247609cb","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/surrealdb/surrealdb","tags":["package"],"sources":["ghsa"]}],"credits":["Tu0Laj1"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-20T17:23:21.610Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58368","url":"https://www.cve.org/CVERecord?id=CVE-2024-58368","licence":"CVE Terms of Use","modified":"2026-07-28T01:47:54.003Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m24x-r6q3-2vp9","url":"https://github.com/advisories/GHSA-m24x-r6q3-2vp9","licence":"CC-BY-4.0","modified":"2026-09-04T20:00:28.306Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58368","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58368","licence":"Public domain","modified":"2026-10-27T18:10:00.130Z"}],"updatedAt":"2026-11-25T22:58:53.052Z","epss":{"score":0.00387,"percentile":0.34903,"date":"2026-12-01T12:00:22.000Z"}}