| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| twig/twig | ≥ 1.0.0, < 1.44.8≥ 2.0.0, < 2.16.1≥ 3.0.0, < 3.11.1≥ 3.12.0, < 3.14.0 | 1.44.82.16.13.11.13.14.0 |
| twig | ≥ 1.0.0, < 1.44.8≥ 2.0.0, < 2.16.1≥ 3.0.0, < 3.14.0 | 1.44.82.16.13.14.0 |
Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions.
The security issue happens when all these conditions are met:
include() function which references a template name (like included.twig) and not a Template or TemplateWrapper instance;include() call but in a non-sandbox context (possible as the sandbox has been globally disabled).The patch ensures that the sandbox security checks are always run at runtime.
We would like to thank Fabien Potencier for reporting and fixing the issue.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン