Ubuntu Security Notice
USN-7456-1
php-twig vulnerabilities
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)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | php-twig | All versions before 2.12.5-1ubuntu0.1~esm2 (fixed in 2.12.5-1ubuntu0.1~esm2) |
| Ubuntu:Pro:22.04:LTS | php-twig | All versions before 3.3.8-2ubuntu4+esm2 (fixed in 3.3.8-2ubuntu4+esm2) |
| Ubuntu:Pro:24.04:LTS | php-twig | All versions before 3.8.0-2ubuntu0.1~esm1 (fixed in 3.8.0-2ubuntu0.1~esm1) |