{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-58361","id":"CVE-2024-58361","title":"SurrealDB before 2.0.4 Denial of Service via Parser Exception","description":"SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause a panic in error rendering, crashing the server.","descriptionLong":"SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause a panic in error rendering, crashing the server.","published":"2026-07-18T13:10:03.607Z","updated":"2026-10-29T02:30:43.475588018Z","reserved":"2026-07-18T12:40:52.916Z","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":"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":"medium","source":"GitHub"},{"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":"2.0.0","status":"affected","versionType":"semver","lessThan":"2.0.4"},{"version":"2.0.4","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"surrealdb","product":"surrealdb","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","versionType":"semver","lessThan":"2.0.4"},{"version":"2.0.4","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[">=2.0.0 <2.0.4"],"fixed":["2.0.4"],"advisory":"GHSA-qjrv-v6qp-x99x"},{"ecosystem":"crates.io","name":"surrealdb-core","purl":"pkg:cargo/surrealdb-core","ranges":[">=2.0.0 <2.0.4"],"fixed":["2.0.4"],"advisory":"GHSA-qjrv-v6qp-x99x"}],"cwes":["CWE-248"],"aliases":["GHSA-qjrv-v6qp-x99x"],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-qjrv-v6qp-x99x","tags":["vendor-advisory","Vendor Advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-parser-exception","tags":["third-party-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58361.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58361","tags":["advisory"]},{"url":"https://github.com/surrealdb/surrealdb/pull/4923","tags":["web"]},{"url":"https://github.com/surrealdb/surrealdb/commit/709d6efe901dbf3e207b4fc2ebc30775595efc16","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.0045,"epssPercentile":0.3988,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58361","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58361","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-58361","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qjrv-v6qp-x99x","ok":true,"note":"GHSA-qjrv-v6qp-x99x"},{"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-58361","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}