CVE-2024-58370 json
SurrealDB before 1.1.0 Uncontrolled Recursion Denial of Service
published 2024-01-18 2 y ago modified 2026-10-27 12 d ago also GHSA-6r8p-hpg7-825g , EUVD-2024-55686
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
SurrealDB versions before 1.1.0 fail to enforce recursion depth limits when parsing nested SurrealQL statements including IF, RELATE, and attribute access idioms. Authorized attackers can submit queries with excessive nesting depth to cause stack overflow and crash the server.
Patch / fix
- crates.io surrealdb 1.1.0
- surrealdb surrealdb 1.1.0
- github.com/surrealdb/surrealdb@f838da2 commit
- github.com/surrealdb/surrealdb#3232 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | 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 |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | surrealdb | <1.1.0 |
1.1.0 |
Affected products
- surrealdb surrealdb
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/surrealdb/surrealdb/pull/3232
web
-
github.com
/surrealdb/surrealdb/commit/f838da248e3854e4250e5187a3a67507cb7efaaa
web
-
github.com
/surrealdb/surrealdb/security/advisories/GHSA-6r8p-hpg7-825g
vendor-advisory, web
-
vulncheck.com
/advisories/surrealdb-before-uncontrolled-recursion-denial-of-service
third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=62410
web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=62652
web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=63797
web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=64445
web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=64731
web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=65277
web
-
github.com
/surrealdb/surrealdb
package
Sources
- CVE List CVE-2024-58370
- GitHub Advisory GHSA-6r8p-hpg7-825g
- NVD CVE-2024-58370
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.