Moderate severityNVD Advisory· Published Sep 9, 2024· Updated Sep 16, 2024
Twig has a possible sandbox bypass
CVE-2024-45411
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.
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.0.0, < 1.44.8 | 1.44.8 |
twig/twigPackagist | >= 2.0.0, < 2.16.1 | 2.16.1 |
twig/twigPackagist | >= 3.12.0, < 3.14.0 | 3.14.0 |
twig/twigPackagist | >= 3.0.0, < 3.11.1 | 3.11.1 |
Affected products
2Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-6j75-5wfj-gh66ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-45411ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2024-45411.yamlghsaWEB
- github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6ghsax_refsource_MISCWEB
- github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7deghsax_refsource_MISCWEB
- github.com/twigphp/Twig/commit/41103dcdc2daab4c83cdd05b5b4fde5b7e41e635ghsaWEB
- github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233ghsax_refsource_MISCWEB
- github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66ghsax_refsource_CONFIRMWEB
- symfony.com/blog/twig-security-release-possible-sandbox-bypassghsaWEB
News mentions
0No linked articles in our index yet.