Fedora 28 : php-twig2 (2019-e86155be6e)

high Nessus Plugin ID 123051

Language:

Synopsis

The remote Fedora host is missing a security update.

Description

**Version 2.7.2** (2019-03-12)

- added TemplateWrapper::getTemplateName()

----

**Version 2.7.1** (2019-03-12)

- fixed class aliases

----

**Version 2.7.0** (2019-03-12)

- fixed sandbox security issue (under some circumstances, calling the __toString() method on an object was possible even if not allowed by the security policy)

- fixed batch filter clobbers array keys when fill parameter is used

- added preserveKeys support for the batch filter

- fixed 'embed' support when used from 'template_from_string'

- deprecated passing a Twig\Template to Twig\Environment::load()/Twig\Environment::resolveTempla te()

- added the possibility to pass a TemplateWrapper to Twig\Environment::load()

- marked Twig\Environment::getTemplateClass() as internal (implementation detail)

- improved the performance of the sandbox

- deprecated the spaceless tag

- added a spaceless filter

- added max value to the 'random' function

- deprecated Twig\Extension\InitRuntimeInterface

- deprecated Twig\Loader\ExistsLoaderInterface

- deprecated PSR-0 classes in favor of namespaced ones

- made namespace classes the default classes (PSR-0 ones are aliases now)

- added Twig\Loader\ChainLoader::getLoaders()

- removed duplicated directory separator in FilesystemLoader

- deprecated the 'base_template_class' option on Twig\Environment

- deprecated the Twig\Environment::getBaseTemplateClass() and Twig\Environment::setBaseTemplateClass() methods

- changed internal code to use the namespaced classes as much as possible

- deprecated Twig_Parser::isReservedMacroName()

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected php-twig2 package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2019-e86155be6e

Plugin Details

Severity: High

ID: 123051

File Name: fedora_2019-e86155be6e.nasl

Version: 1.2

Type: local

Agent: unix

Published: 3/25/2019

Updated: 9/23/2019

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Vulnerability Information

CPE: cpe:/o:fedoraproject:fedora:28, p-cpe:/a:fedoraproject:fedora:php-twig2

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Patch Publication Date: 3/23/2019

Vulnerability Publication Date: 3/23/2019

Reference Information