CVE-2022-23614
php-twig - security update
8.8
HIGH
CVSS 3.1
EPSS 21.1%
Description
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.
How to fix CVE-2022-23614
To remediate CVE-2022-23614, upgrade the affected package to a fixed version below.
- —upgrade to 2.14.3-1+deb11u1 or later
- —upgrade to 2.14.3-1+deb11u1 or later
- —upgrade to 2.14.11 or later
Is CVE-2022-23614 being exploited?
Moderate — EPSS is 21.1%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (3)
- from 0, < 2.14.3-1+deb11u1
- from 0, < 2.14.3-1+deb11u1
- >= 2.0.0, < 2.14.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |