Vulnerability in Symfony Twig
CVE-2019-9942
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.014, 73.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Symfony Twig
- Debian Linux — versions 9.0
References
- symfony.com/blog/twig-sandbox-information-disclosure (Patch, Vendor Advisory)
- github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 (Patch, Third Party Advisory)
- DSA-4419 (vendor-advisory, Third Party Advisory)
- 20190331 [SECURITY] [DSA 4419-1] twig security update (mailing-list, Mailing List, Third Party Advisory)