CVE-2022-23614
HIGHSymfony Twig < 2.14.11 - Injection
Title source: ruleDescription
Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.
Exploits (2)
References (8)
Scores
CVSS v3
8.8
EPSS
0.2783
EPSS Percentile
96.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-74
CWE-94
Status
published
Products (5)
debian/debian_linux
11.0
fedoraproject/fedora
34
fedoraproject/fedora
35
symfony/twig
2.0.0 - 2.14.11
twig/twig
2.0.0 - 2.14.11Packagist
Published
Feb 04, 2022
Tracked Since
Feb 18, 2026