ast/compile: respect unsafeBuiltinMap for 'with' replacements (#5107)
The changes are necessary for both the Compiler and the QueryCompiler. Tests have been added to ensure that the code path through the rego package has also been fixed. Fixes CVE-2022-36085. Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
S
Stephan Renatus committed
25a597bc3f4985162e7f65f9c36599f4f8f55823
Parent: 9adf9a8
Committed by GitHub <noreply@github.com>
on 9/7/2022, 6:00:18 PM