{"id":"CVE-2019-9942","state":"PUBLISHED","title":"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 ev","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.","publishedAt":"2019-03-23T14:31:53.000Z","updatedAt":"2024-08-04T22:10:08.258Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://symfony.com/blog/twig-sandbox-information-disclosure","https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077","https://www.debian.org/security/2019/dsa-4419","https://seclists.org/bugtraq/2019/Mar/60"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:15.253Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/9xxx/CVE-2019-9942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-9942","state":"PUBLISHED","datePublished":"2019-03-23T14:31:53.000Z","dateUpdated":"2024-08-04T22:10:08.258Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-03-23T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://symfony.com/blog/twig-sandbox-information-disclosure","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2019/dsa-4419","name":"DSA-4419","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Mar/60","name":"20190331 [SECURITY] [DSA 4419-1] twig security update","tags":["mailing-list","x_refsource_BUGTRAQ"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-04-01T07:06:07.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-9942","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://symfony.com/blog/twig-sandbox-information-disclosure","refsource":"MISC","url":"https://symfony.com/blog/twig-sandbox-information-disclosure"},{"name":"https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077","refsource":"MISC","url":"https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077"},{"name":"DSA-4419","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4419"},{"name":"20190331 [SECURITY] [DSA 4419-1] twig security update","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Mar/60"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://symfony.com/blog/twig-sandbox-information-disclosure","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4419","name":"DSA-4419","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Mar/60","name":"20190331 [SECURITY] [DSA 4419-1] twig security update","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T22:10:08.258Z"}}]}}}