GHSA-347j-rmf7-f74xHighCVSS 7.1
SurrealDB 2.0.0 before 3.3.1 does not enforce --deny-funcs restrictions on method-style function...
🔗 CVE IDs covered (1)
📋 Description
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.