Skip to main content
← All vulnerabilities
CVE-2019-9942GHSA-VXRC-68XX-X48G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.38.0, 2.7.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • twig/twigPackagist

    fixed in 1.38.0

  • twig/twigPackagist

    From 2.0.0 · fixed in 2.7.0

References 4

symfony.com

GitHub · twigphp/Twig

debian.org

seclists.org