{"id":"GHSA-6g9r-xqrf-34xh","summary":"Duplicate Advisory: SurrealDB no JavaScript script function default timeout could facilitate DoS","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-3824-qmfq-2qv7. This link is maintained to preserve external references.\n\n## Original Description\nSurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 does not enforce a default execution-time limit on embedded JavaScript scripting functions when the scripting capability is explicitly enabled (via --allow-scripting or --allow-all). An authenticated attacker can submit long-running JavaScript functions to exhaust server resources and cause a denial of service. Scripting is disabled by default.","modified":"2026-09-03T20:30:04.895506727Z","published":"2026-07-18T15:31:49Z","withdrawn":"2026-09-03T20:09:41Z","database_specific":{"github_reviewed_at":"2026-09-03T20:09:41Z","nvd_published_at":"2026-07-18T14:17:11Z","cwe_ids":["CWE-770"],"severity":"LOW","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3824-qmfq-2qv7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71396"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-javascript-scripting"}],"affected":[{"package":{"name":"surrealdb","ecosystem":"crates.io","purl":"pkg:cargo/surrealdb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 2.0.5","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-6g9r-xqrf-34xh/GHSA-6g9r-xqrf-34xh.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:P/PR:L/UI:N/VC:N/VI:N/VA:L/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"}]}