CVE-2019-9942: Infoleak

Published Mar 12, 2019
·
Updated

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

7 affected componentsFixes available
composer/twig/twig<1.38.0, >=2.0.0, <2.7.0
composer/twig/twig>=2.0.0<2.7.0
2.7.0
composer/twig/twig<1.38.0
1.38.0
debian/twig
2.6.2-22.6.2-2+deb10u1
Symfony Twig<1.38.0
Symfony Twig>=2.0.0<2.7.0
Debian Debian Linux=9.0

Event History

Mar 12, 2019
Advisory Published
12:36 PM
Mar 23, 2019
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
Description
Data Sourced
via NVD·03:29 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2019-9942.

2

What is the severity of CVE-2019-9942?

The severity of CVE-2019-9942 is medium with a severity value of 3.7.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203