{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-58370","id":"CVE-2024-58370","title":"SurrealDB before 1.1.0 Uncontrolled Recursion Denial of Service","description":"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.","descriptionLong":"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.","published":"2026-07-18T13:10:09.658Z","updated":"2026-10-29T02:30:43.480328030Z","reserved":"2026-07-18T12:40:52.917Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":7.1,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":7.1,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":7.1,"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/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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"VulnCheck"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"vulncheck.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"high","products":["surrealdb"],"affectedProducts":[{"vendor":"surrealdb","product":"surrealdb","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"1.1.0"},{"version":"1.1.0","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":["<1.1.0"],"fixed":["1.1.0"],"advisory":"GHSA-6r8p-hpg7-825g"}],"cwes":["CWE-674"],"aliases":["GHSA-6r8p-hpg7-825g"],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6r8p-hpg7-825g","tags":["vendor-advisory","Vendor Advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-uncontrolled-recursion-denial-of-service","tags":["third-party-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58370.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58370","tags":["advisory"]},{"url":"https://github.com/surrealdb/surrealdb/pull/3232","tags":["web"]},{"url":"https://github.com/surrealdb/surrealdb/commit/f838da248e3854e4250e5187a3a67507cb7efaaa","tags":["web"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62410","tags":["web"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62652","tags":["web"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63797","tags":["web"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64445","tags":["web"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64731","tags":["web"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65277","tags":["web"]},{"url":"https://github.com/surrealdb/surrealdb","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00487,"epssPercentile":0.42696,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58370","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58370","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-58370","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6r8p-hpg7-825g","ok":true,"note":"GHSA-6r8p-hpg7-825g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-58370","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}