Name | CVE-2019-9942 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4419-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
twig (PTS) | jessie, jessie (lts) | 1.16.2-1+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.24.0-2+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 2.6.2-2+deb10u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
twig | source | experimental | 2.7.1-1 | | | |
twig | source | stretch | 1.24.0-2+deb9u1 | | DSA-4419-1 | |
twig | source | (unstable) | 2.6.2-2 | | | |
Notes
[jessie] - twig <no-dsa> (low priority, sandbox disabled by default)
https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077
https://symfony.com/blog/twig-sandbox-information-disclosure