Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

🚨 [security] [php - develop] Update twig/twig: 2.15.2 → 2.15.3 (patch)#9

Merged
titouanmathis merged 1 commit intodevelopfrom
depfu/update/develop/composer/twig/twig-2.15.3
Sep 30, 2022
Merged

🚨 [security] [php - develop] Update twig/twig: 2.15.2 → 2.15.3 (patch)#9
titouanmathis merged 1 commit intodevelopfrom
depfu/update/develop/composer/twig/twig-2.15.3

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu Bot commented Sep 30, 2022


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

↗️ twig/twig (indirect, 2.15.2 → 2.15.3) · Repo · Changelog

Security Advisories 🚨

🚨 Twig may load a template outside a configured directory when using the filesystem loader

Description

When using the filesystem loader to load templates for which the name is a user input, it is possible to use the source or include 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.

Commits

See the full diff on Github. The new version differs by 12 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Sep 30, 2022
@titouanmathis titouanmathis merged commit c919735 into develop Sep 30, 2022
@depfu depfu Bot deleted the depfu/update/develop/composer/twig/twig-2.15.3 branch September 30, 2022 07:00
@titouanmathis titouanmathis mentioned this pull request Sep 30, 2022
titouanmathis added a commit that referenced this pull request Sep 30, 2022
v2.0.2

Changed
- Improve GitLab CI configuration (#8)
- Update Twig 2.15.2 → 2.15.3 (#9)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant