-
Notifications
You must be signed in to change notification settings - Fork 67
deps: update dependency jinja2 to v3.1.6 [security] #3676
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
Open
renovate-bot
wants to merge
1
commit into
googleapis:main
Choose a base branch
from
renovate-bot:renovate/pypi-jinja2-vulnerability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
deps: update dependency jinja2 to v3.1.6 [security] #3676
renovate-bot
wants to merge
1
commit into
googleapis:main
from
renovate-bot:renovate/pypi-jinja2-vulnerability
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
65c81a4
to
292f41a
Compare
292f41a
to
f38fc01
Compare
f38fc01
to
d2c0733
Compare
d2c0733
to
8a6d2b1
Compare
8a6d2b1
to
b88dd40
Compare
b88dd40
to
be3f185
Compare
be3f185
to
649f4ef
Compare
649f4ef
to
291799c
Compare
291799c
to
8827e47
Compare
8827e47
to
1e856db
Compare
827b257
to
e34000e
Compare
e34000e
to
e9c559d
Compare
e9c559d
to
32bf8d5
Compare
32bf8d5
to
8cce3c2
Compare
8cce3c2
to
cdd4ef7
Compare
cdd4ef7
to
27d4bb6
Compare
27d4bb6
to
218fd77
Compare
218fd77
to
68518ed
Compare
68518ed
to
a961e3b
Compare
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.
This PR contains the following updates:
==3.1.5
->==3.1.6
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2025-27516
An oversight in how the Jinja sandboxed environment interacts with the
|attr
filter allows an attacker that controls the content of a template to execute arbitrary Python code.To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.
Jinja's sandbox does catch calls to
str.format
and ensures they don't escape the sandbox. However, it's possible to use the|attr
filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the|attr
filter no longer bypasses the environment's attribute lookup.Release Notes
pallets/jinja (jinja2)
v3.1.6
Compare Source
Released 2025-03-05
|attr
filter does not bypass the environment's attribute lookup,allowing the sandbox to apply its checks. :ghsa:
cpwx-vrp4-4pq7
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.