CVE-2025-71396
LOW
2.3
CVSS 4.0
Description
SurrealDB 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.
Metadata
Severity & Metrics
2.3
LOW CVSS 4.0
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
Affected products (3)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 2.2.2, 2.2.2 |
| surrealdb | surrealdb | — | 0 < 2.0.5, 2.0.5 |
| surrealdb | surrealdb | — | 0 < 2.1.5, 2.1.5 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-770 | cna | Allocation of Resources Without Limits or Throttling |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 2.3 | LOW | 4.0 | cna | 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 |
References (2)
- GitHub Security Advisory (GHSA-3824-qmfq-2qv7) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3824-qmfq-2qv7
- VulnCheck Advisory: SurrealDB before 2.2.2 Denial of Service via JavaScript Scripting https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-javascript-scripting