Vulnerability in Symfony Twig
CVE-2024-45411
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 58.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Symfony Twig
- Twigphp Twig — versions > 1.0.0, < 1.44.8, > 2.0.0, < 2.16.1, > 3.0.0, < 3.14.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, KatenKyoukotsu/devsecops). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66 (Vendor Advisory)
- https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6 (Patch)
- https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de (Patch)
- https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233 (Patch)
- lists.debian.org/debian-lts-announce/2024/09/msg00031.html