Update dependency twig/twig to v2.15.3 [SECURITY] #581
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:
2.11.2
->2.15.3
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
GitHub Vulnerability Alerts
CVE-2022-23614
Description
When in a sandbox mode, the
arrow
parameter of thesort
filter must be a closure to avoid attackers being able to run arbitrary PHP functions.Resolution
We now disallow calling non Closure in the
sort
filter like we already did for some other filters.Credits
We would like to thank Marlon Starkloff for reporting the issue and Fabien Potencier for fixing the issue.
CVE-2022-39261
Description
When using the filesystem loader to load templates for which the name is a user input, it is possible to use the
source
orinclude
statement to read arbitrary files from outside the templates directory when using a namespace like@somewhere/../some.file
(in such a case, validation is bypassed).Resolution
We fixed validation for such template names.
Even if the 1.x branch is not maintained anymore, a new version has been released.
Credits
We would like to thank Dariusz Tytko for reporting the issue and Fabien Potencier for fixing the issue.
Release Notes
twigphp/Twig (twig/twig)
v2.15.3
Compare Source
v2.15.2
Compare Source
v2.15.1
Compare Source
v2.15.0
Compare Source
v2.14.13
Compare Source
v2.14.12
Compare Source
v2.14.11
Compare Source
v2.14.10
Compare Source
v2.14.9
Compare Source
v2.14.8
Compare Source
v2.14.7
Compare Source
v2.14.6
Compare Source
v2.14.5
Compare Source
v2.14.4
Compare Source
v2.14.3
Compare Source
v2.14.2
Compare Source
v2.14.1
Compare Source
v2.14.0
Compare Source
v2.13.1
Compare Source
v2.13.0
Compare Source
v2.12.5
Compare Source
v2.12.4
Compare Source
v2.12.3
Compare Source
v2.12.2
Compare Source
v2.12.1
Compare Source
v2.12.0
Compare Source
v2.11.3
Compare Source
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.