Protection Mechanism Failure Affecting twig/twig package, versions <3.11.2 >=3.12.0, <3.14.1
Threat Intelligence
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-TWIGTWIG-8349791
- published 7 Nov 2024
- disclosed 6 Nov 2024
- credit Jamie Schouten
Introduced: 6 Nov 2024
New CVE-2024-51755 Open this link in a new tabHow to fix?
Upgrade twig/twig
to version 3.11.2, 3.14.1 or higher.
Overview
twig/twig is a flexible, fast, and secure template language for PHP.
Affected versions of this package are vulnerable to Protection Mechanism Failure in a sandbox, an attacker can access attributes of Array-like objects due to improper validation by the security policy.
Note:
This change introduces a backward compatibility break.