{"id":"CVE-2024-45411","state":"PUBLISHED","title":"Twig has a possible sandbox bypass","description":"Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.","publishedAt":"2024-09-09T18:20:28.363Z","updatedAt":"2024-09-16T12:04:18.107Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["twigphp Twig"],"affected":[{"vendor":"twigphp","product":"Twig","versions":[{"version":"> 1.0.0, < 1.44.8","status":"affected"},{"version":"> 2.0.0, < 2.16.1","status":"affected"},{"version":"> 3.0.0, < 3.14.0","status":"affected"}]}],"references":["https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66","https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6","https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de","https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233","https://lists.debian.org/debian-lts-announce/2024/09/msg00031.html"],"weaknesses":["CWE-693"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45411.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-45411","state":"PUBLISHED","datePublished":"2024-09-09T18:20:28.363Z","dateUpdated":"2024-09-16T12:04:18.107Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-08-28T20:21:32.805Z"},"containers":{"cna":{"title":"Twig has a possible sandbox bypass","descriptions":[{"lang":"en","value":"Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0."}],"affected":[{"vendor":"twigphp","product":"Twig","versions":[{"version":"> 1.0.0, < 1.44.8","status":"affected"},{"version":"> 2.0.0, < 2.16.1","status":"affected"},{"version":"> 3.0.0, < 3.14.0","status":"affected"}]}],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66","name":"https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6","name":"https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de","name":"https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233","name":"https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-09-09T18:20:28.363Z"},"source":{"advisory":"GHSA-6j75-5wfj-gh66","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"symfony","product":"twig","defaultStatus":"unaffected","versions":[{"version":"1.0.0","status":"affected","lessThan":"1.44.8","versionType":"custom"},{"version":"2.0.0","status":"affected","lessThan":"2.16.1","versionType":"custom"},{"version":"3.0.0","status":"affected","lessThan":"3.14.0","versionType":"custom"}],"cpes":["cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-09T18:37:50.091764Z","id":"CVE-2024-45411","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-09T18:39:52.204Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00031.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-16T12:04:18.107Z"}}]}}}