{"id":"CVE-2024-58369","aliases":["CVE-2024-58369","GHSA-jm4v-58r5-66hj"],"related":[],"kind":"vulnerability","state":"published","title":"SurrealDB before 1.1.1 Denial of Service via Global Parameters","summary":"SurrealDB versions before 1.1.1 fail to properly validate invocation of custom parameters and functions at root or namespace levels, causing server panic. Authorized clients can invoke these entities at unsupported levels to crash the SurrealDB server, resulting in denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SurrealDB versions before 1.1.1 fail to properly validate invocation of custom parameters and functions at root or namespace levels, causing server panic. Authorized clients can invoke these entities at unsupported levels to crash the SurrealDB server, resulting in denial of service.","source":"cvelist"},{"lang":"en","text":"Although custom parameters and functions are only supported at the database level, it was allowed to invoke those entities at the root or namespace level. This would cause a panic which would crash the SurrealDB server, leading to denial of service.\n\n### Impact\n\nA client that is authorized to run queries at the root or namespace level in a SurrealDB server is able to run a query invoking a parameter or a function at that level, which will cause a panic. This will crash the server, leading to denial of service.\n\n### Patches\n\n- Version 1.1.1 and later are not affected by this issue.\n\n### Workarounds\n\nConcerned users unable to update may want to limit the ability of untrusted users to run arbitrary SurrealQL queries in the affected versions of SurrealDB to the database level. 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### References\n\n- #3297","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de SurrealDB anteriores a la 1.1.1 no validan correctamente la invocación de parámetros y funciones personalizados a nivel raíz o de espacio de nombres, causando un pánico del servidor. Clientes autorizados pueden invocar estas entidades a niveles no soportados para colapsar el servidor de SurrealDB, resultando en una denegación de servicio.","source":"nvd"}],"published":"2024-01-18T15:44:51.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:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.1.1","status":"affected"},{"type":"semver","version":"1.1.1","status":"unaffected"}],"vendor":"surrealdb","product":"surrealdb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.1"}],"ecosystem":"crates.io","package":"surrealdb","purl":"pkg:cargo/surrealdb","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.1.1"}],"vendor":"surrealdb","product":"surrealdb","cpe":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jm4v-58r5-66hj","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-global-parameters","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/surrealdb/surrealdb/commit/618a4d1b422df0d12772532bb2c195f830b40399","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/surrealdb/surrealdb","tags":["package"],"sources":["ghsa"]}],"credits":["Tu0Laj1","jabis"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-20T19:23:36.243Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58369","url":"https://www.cve.org/CVERecord?id=CVE-2024-58369","licence":"CVE Terms of Use","modified":"2026-07-28T01:47:54.726Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jm4v-58r5-66hj","url":"https://github.com/advisories/GHSA-jm4v-58r5-66hj","licence":"CC-BY-4.0","modified":"2026-07-19T03:56:48.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58369","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58369","licence":"Public domain","modified":"2026-10-27T18:10:00.130Z"}],"updatedAt":"2026-11-25T22:58:53.052Z","epss":{"score":0.00254,"percentile":0.18131,"date":"2026-12-01T12:00:22.000Z"}}