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.
Metrics
CVSS 3.1 3.7/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077Patch, Third Party Advisory
- https://seclists.org/bugtraq/2019/Mar/60Mailing List, Third Party Advisory
- https://symfony.com/blog/twig-sandbox-information-disclosurePatch, Vendor Advisory
- https://www.debian.org/security/2019/dsa-4419Third Party Advisory
- https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077Patch, Third Party Advisory
- https://seclists.org/bugtraq/2019/Mar/60Mailing List, Third Party Advisory
- https://symfony.com/blog/twig-sandbox-information-disclosurePatch, Vendor Advisory
- https://www.debian.org/security/2019/dsa-4419Third Party Advisory
Timeline
- Published
- Mar 23, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified