security advisorysecurity issuecode execution
Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). . ------------------------------------------------------------------------- Debian LTS Advisory DLA-4186-1 This email address is being protected from spambots. You need JavaScript enabled to view it. https://www.debian.org/lts/security/ Markus Koschany May 28, 2025 https://wiki.debian.org/LTS ------------------------------------------------------------------------- Package : php-twig Version : 2.14.3-1+deb11u4 CVE ID : CVE-2024-51754 Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). For Debian 11 bullseye, this problem has been fixed in version 2.14.3-1+deb11u4. We recommend that you upgrade your php-twig packages. For the detailed security status of php-twig please refer to its security tracker page at: https://security-tracker.debian.org/tracker/source-package/php-twig Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS . Debian LTS Advisory DLA-4186-2 resolves a vulnerability in php-twig that enables code execution within a controlled environment.. Debian, php-twig, security advisory, code execution, template language. . Severity: Critical. LinuxSecurity.com Team
May 29, 2025
•Critical
Debian LTS