Low severityOSV Advisory· Published Mar 23, 2019· Updated Aug 4, 2024
CVE-2019-9942
CVE-2019-9942
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
twig/twigPackagist | < 1.38.0 | 1.38.0 |
twig/twigPackagist | >= 2.0.0, < 2.7.0 | 2.7.0 |
Affected products
2Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-vxrc-68xx-x48gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-9942ghsaADVISORY
- www.debian.org/security/2019/dsa-4419ghsavendor-advisoryx_refsource_DEBIANWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2019-9942.yamlghsaWEB
- github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077ghsax_refsource_MISCWEB
- seclists.org/bugtraq/2019/Mar/60ghsamailing-listx_refsource_BUGTRAQWEB
- symfony.com/blog/twig-sandbox-information-disclosureghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.