Ubuntu CVE Tracker
UBUNTU-CVE-2024-45411
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | twig | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | twig | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | php-twig | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | php-twig | All versions before 3.3.8-2ubuntu4+esm2 (fixed in 3.3.8-2ubuntu4+esm2) |
| Ubuntu:24.04:LTS | php-twig | All versions before 3.8.0-2ubuntu1 (fixed in 3.8.0-2ubuntu1) |
| Ubuntu:Pro:24.04:LTS | php-twig | All versions before 3.8.0-2ubuntu0.1~esm1 (fixed in 3.8.0-2ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2024-45411
- https://www.cve.org/CVERecord?id=CVE-2024-45411
- 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://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6
- https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de
- https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233
- https://ubuntu.com/security/notices/USN-7456-1