GHSA-vxrc-68xx-x48g
Twig Sandbox Information Disclosure
At a glance
- Published
- Updated
- CVE
- CVE-2019-9942
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
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.
Affected packages
| Package | Versions |
|---|---|
| Packagist · twig/twig | introduced 0, fixed 1.38.0 |
| Packagist · twig/twig | introduced 2.0.0, fixed 2.7.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-9942 ADVISORY
- https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2019-9942.yaml WEB
- https://github.com/twigphp/Twig PACKAGE
- https://seclists.org/bugtraq/2019/Mar/60 WEB
- https://symfony.com/blog/twig-sandbox-information-disclosure WEB
- https://www.debian.org/security/2019/dsa-4419 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |