[USN-7456-1] Twig vulnerabilities
Hlib Korzhynskyy
hlib.korzhynskyy at canonical.com
Thu Apr 24 15:39:24 UTC 2025
==========================================================================
Ubuntu Security Notice USN-7456-1
April 24, 2025
php-twig vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
Summary:
Several security issues were fixed in Twig.
Software Description:
- php-twig: Flexible, fast, and secure template engine for PHP
Details:
Fabien Potencier discovered that Twig did not run sandbox security checks
in some circumstances. An attacker could possibly use this issue to cause
a denial of service or execute arbitrary commands. This issue only affected
Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-45411)
Jamie Schouten discovered that Twig could bypass the security policy for
an object call. An attacker could possibly use this issue to obtain
sensitive information. (CVE-2024-51754)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 24.04 LTS
php-twig 3.8.0-2ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 22.04 LTS
php-twig 3.3.8-2ubuntu4+esm2
Available with Ubuntu Pro
Ubuntu 20.04 LTS
php-twig 2.12.5-1ubuntu0.1~esm2
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-7456-1
CVE-2024-45411, CVE-2024-51754
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20250424/cdd78b6f/attachment.sig>
More information about the ubuntu-security-announce
mailing list