Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ast/compile: respect unsafeBuiltinMap for 'with' replacements #5107

Merged

Conversation

srenatus
Copy link
Contributor

@srenatus srenatus commented Sep 7, 2022

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.

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>
Copy link
Contributor

@philipaconrad philipaconrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 We're good to merge, I think.

@srenatus srenatus merged commit 25a597b into open-policy-agent:main Sep 7, 2022
@srenatus srenatus deleted the sr/ast/unsafebuiltins-and-with branch September 7, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants