SurrealDB 2.0.0 before 3.3.1 does not enforce --deny-funcs restrictions on method-style function calls in the streaming engine, because…
SurrealDB 2.0.0 before 3.3.1 does not enforce --deny-funcs restrictions on method-style function calls in the streaming engine, because MethodPart::evaluate invokes resolved functions without a capability check. Authenticated users who can submit queries can run denied functions via method syntax, e.g. [1,2].map() or $f.put()/$f.get() to write and read file bucket data despite file::* denials.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Surrealdb
- Product
- surrealdb
- CVSS v3.1
- 7.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- Weakness
- CWE-284
- Exposure class
- Database
- NVD status
- Deferred
Why it ranks 15 (Routine)
- CVSS v3.1 7.1 high
- Product class: database
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.