Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Jinja2 (changelog) 3.1.5 -> 3.1.6 age adoption passing confidence

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

This is the Jinja 3.1.6 security release, which fixes security issues but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Jinja2/3.1.6/
Changes: https://jinja.palletsprojects.com/en/stable/changes/#version-3-1-6

  • The |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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from rjha-splunk as a code owner March 6, 2025 09:00
@renovate renovate bot added dependencies Pull requests that update a dependency file security labels Mar 6, 2025
@renovate renovate bot requested a review from cwadhwani-splunk March 6, 2025 09:00
@renovate renovate bot force-pushed the renovate/pypi-jinja2-vulnerability branch from a168f23 to 7da861b Compare March 11, 2025 12:32
ikheifets-splunk and others added 6 commits March 20, 2025 13:01
* docs: Updated the splunk add-on link in the PaloaltoNetworks panos documentation

* Empty commit for triggering workflow
* feat: Added support for vectra json logs

* Empty commit for triggering workflow
* chore: add netapp test

* chore: update netapp config

* chore: fix typo
@renovate renovate bot force-pushed the renovate/pypi-jinja2-vulnerability branch from 7da861b to a64eaa1 Compare April 8, 2025 12:23
@renovate renovate bot changed the title chore(deps): update dependency jinja2 to v3.1.6 [security] chore(deps): update dependency jinja2 to v3.1.6 [security] - abandoned Apr 9, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Apr 9, 2025

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@ajasnosz ajasnosz deleted the branch main June 9, 2025 10:52
@ajasnosz ajasnosz closed this Jun 9, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 9, 2025
@ajasnosz ajasnosz reopened this Jun 9, 2025
Base automatically changed from develop to main August 4, 2025 12:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants