[SECURITY] Fedora 21 Update: php-twig-1.20.0-1.fc21

updates at fedoraproject.org updates at fedoraproject.org
Sun Sep 6 06:25:53 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-13423
2015-09-06 02:02:39.315470
--------------------------------------------------------------------------------

Name        : php-twig
Product     : Fedora 21
Version     : 1.20.0
Release     : 1.fc21
URL         : http://twig.sensiolabs.org
Summary     : The flexible, fast, and secure template engine for PHP
Description :
The flexible, fast, and secure template engine for PHP.

* Fast: Twig compiles templates down to plain optimized PHP code. The
  overhead compared to regular PHP code was reduced to the very minimum.

* Secure: Twig has a sandbox mode to evaluate untrusted template code. This
  allows Twig to be used as a template language for applications where users
  may modify the template design.

* Flexible: Twig is powered by a flexible lexer and parser. This allows the
  developer to define its own custom tags and filters, and create its own
  DSL.

--------------------------------------------------------------------------------
Update Information:

## 1.20.0 (2015-08-12)  * forbid access to the Twig environment from templates
and internal parts of Twig_Template * fixed limited RCEs when in sandbox mode *
deprecated Twig_Template::getEnvironment() * deprecated the _self variable for
usage outside of the from and import tags * added Twig_BaseNodeVisitor to ease
the compatibility of node visitors between 1.x and 2.x  ## 1.19.0 (2015-07-31)
* fixed wrong error message when including an undefined template in a child
template * added support for variadic filters, functions, and tests * added
support for extra positional arguments in macros * added ignore_missing flag to
the source function * fixed batch filter with zero items * deprecated
Twig_Environment::clearTemplateCache() * fixed sandbox disabling when using the
include function
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1255795 - php-twig: Remote code execution via Twig templates
        https://bugzilla.redhat.com/show_bug.cgi?id=1255795
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program. Use
su -c 'yum update php-twig' at the command line.
For more information, refer to "Managing Software with yum",
available at https://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list