CVE ID:

CVE-2019-9942

Details:

A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.

References:

BUGTRAQ:20190331 [SECURITY] [DSA 4419-1] twig security update
:https://seclists.org/bugtraq/2019/Mar/60
DEBIAN:DSA-4419
:https://www.debian.org/security/2019/dsa-4419
:https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077
:https://symfony.com/blog/twig-sandbox-information-disclosure