CVE-2024-58369
JSON

7.1high

SurrealDB before 1.1.1 Denial of Service via Global Parameters

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.25% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-jm4v-58r5-66hj

Description

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.

Affected

Product or packageVersionsReported by
surrealdb surrealdbbefore 1.1.1
Not affected: 1.1.1
CVE List, NVD
surrealdb (crates.io)before 1.1.1GitHub Advisory Database

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-248

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

Impact

A 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.

Patches
  • Version 1.1.1 and later are not affected by this issue.
Workarounds

Concerned 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.

References
  • #3297
NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58369 changed 2026-07-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-jm4v-58r5-66hj changed 2026-07-19CC-BY-4.0
NVDCVE-2024-58369 changed 2026-10-27Public domain