CVE-2019-9942: Infoleak
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.
Other sources
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the vulnerability ID for this vulnerability?
The vulnerability ID for this vulnerability is CVE-2019-9942.
What is the severity of CVE-2019-9942?
The severity of CVE-2019-9942 is medium with a severity value of 3.7.
What is the affected software for CVE-2019-9942?
The affected software for CVE-2019-9942 includes Twig before 1.38.0 and 2.x before 2.7.0.
How does the sandbox information disclosure vulnerability work?
Under some circumstances, it is possible to call the `__toString()` method on an object even if not allowed by the security policy in place, leading to information disclosure.
How can I fix the sandbox information disclosure vulnerability?
To fix the sandbox information disclosure vulnerability, update Twig to version 1.38.0 or 2.7.0 or later.