CVE-2024-58369
mediumpriority · track · 0EPSS 0.004 · 39 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-jm4v-58r5-66hjUncaught Exception in surrealdb2024-01-18ghsa · osvUS
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
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/surrealdb/surrealdb/releasesPatchcnnvd
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jm4v-58r5-66hjcnnvd
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-global-parameterscnnvd
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jm4v-58r5-66hjenisa_euvd
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-global-parametersenisa_euvd
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jm4v-58r5-66hjVendor Advisorynvd
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-global-parametersThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan