CVE-2022-23614
high-risk
Published 2022-02-04
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.
Do I need to act?
!
27.8% chance of exploitation in next 30 days
EPSS score — higher than 72% of all CVEs
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
8
CVSS 8.8/10
High
NETWORK
/ LOW complexity
Affected Products (4)
Affected Vendors
References (16)
Third Party Advisory
https://github.com/twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2v
Third Party Advisory
https://www.debian.org/security/2022/dsa-5107
Third Party Advisory
https://github.com/twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2v
Third Party Advisory
https://www.debian.org/security/2022/dsa-5107
55
/ 100
high-risk
Severity
30/34 · Critical
Exploitability
15/34 · Moderate
Exposure
10/34 · Low