[Aikido] Fix 6 security issues in jinja2, orjson, idna#4
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
[Aikido] Fix 6 security issues in jinja2, orjson, idna#4aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade Jinja2, orjson, and idna to fix multiple RCE vulnerabilities in template sandbox escapes and DoS via unbounded recursion.
✅ No breaking changes from either package upgrade affect this codebase.
The jinja2 upgrade's breaking changes only apply to sandboxed environments, but this codebase uses the standard
Environmentclass. The templates don't use the|attrfilter or callclear()/pop()methods on sequences.The idna package is a transitive dependency with no direct usage in the codebase, so changes to transitional processing and input size validation have no impact.
All breaking changes by upgrading jinja2 from version 3.1.4 to 3.1.6 (CHANGELOG)
clearandpopon known mutable sequence types.✅ 6 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
str.formatmethod and invoking it indirectly through a filter, circumventing Jinja's sandbox restrictions. This enables remote code execution through malicious template manipulation.