USN-7456-1: Twig vulnerabilities

Published Apr 24, 2025
·
Updated

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 Software

6 affected componentsFixes available
All of the following
ubuntu/php-twig<3.8.0-2ubuntu0.1~esm1
3.8.0-2ubuntu0.1~esm1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/php-twig<3.3.8-2ubuntu4+esm2
3.3.8-2ubuntu4+esm2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/php-twig<2.12.5-1ubuntu0.1~esm2
2.12.5-1ubuntu0.1~esm2
Ubuntu Ubuntu=20.04

Event History

Apr 24, 2025
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of USN-7456-1?

The severity of USN-7456-1 is considered critical due to the potential for denial of service or execution of arbitrary commands.

2

How do I fix USN-7456-1?

To fix USN-7456-1, upgrade the php-twig package to the recommended versions 3.8.0-2ubuntu0.1~esm1 for Ubuntu 24.04, 3.3.8-2ubuntu4+esm2 for Ubuntu 22.04, or 2.12.5-1ubuntu0.1~esm2 for Ubuntu 20.04.

3

Which versions of Ubuntu are affected by USN-7456-1?

USN-7456-1 affects Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.

4

Who discovered the vulnerability leading to USN-7456-1?

The vulnerability leading to USN-7456-1 was discovered by Fabien Potencier.

5

What could an attacker potentially achieve by exploiting USN-7456-1?

An attacker could potentially cause a denial of service or execute arbitrary commands by exploiting USN-7456-1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203