Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3888-1, DSA-5771-1 |
Debian Bugs | 1081561 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-twig (PTS) | bullseye | 2.14.3-1+deb11u2 | vulnerable |
| bullseye (security) | 2.14.3-1+deb11u3 | fixed |
| bookworm (security), bookworm | 3.5.1-1+deb12u1 | fixed |
| sid, trixie | 3.14.2-3 | fixed |
twig (PTS) | jessie, jessie (lts) | 1.16.2-1+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.24.0-2+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 2.6.2-2+deb10u1 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66
https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6 (v3.14.0)
https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de (v2.16.1)
https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233 (v1.44.8)