{"id":"GHSA-9qjc-q7hw-vw5r","summary":"Duplicate Advisory: Uncaught Exception in Macro Expecting Native Function to Exist","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-6wr5-jmpr-mjcx. This link is maintained to preserve external references.\n\n## Original Description\nSurrealDB versions before 1.2.0 contain an uncaught exception vulnerability in the query executor when processing calls to nonexistent built-in functions. Authorized clients can craft pre-parsed queries invoking nonexistent functions to trigger a panic that crashes the server.","modified":"2026-09-03T20:15:05.879608869Z","published":"2026-07-18T15:31:48Z","withdrawn":"2026-09-03T20:08:16Z","database_specific":{"cwe_ids":["CWE-248"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-09-03T20:08:16Z","nvd_published_at":"2026-07-18T14:17:09Z"},"references":[{"type":"WEB","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6wr5-jmpr-mjcx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58365"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-function"}],"affected":[{"package":{"name":"surrealdb","ecosystem":"crates.io","purl":"pkg:cargo/surrealdb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-9qjc-q7hw-vw5r/GHSA-9qjc-q7hw-vw5r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}