VDB

CVE-2022-23614

CVE-2022-23614 PUBLISHED CVSS 8.800000190734863 HIGH

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.

EPSS 8.21% · 94.6th percentile

Risk Scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
8.21%
94.6th percentile

Affected Products

VendorProductVersions
Oracle Cloudfunctions
debiandebian_linux11.0
twigphpTwig>= 2.0.0, < 2.14.11, >= 3.0.0, < 3.3.8
Azurefunctions
twigtwig3.0.0, 2.0.0
fedoraprojectfedora35, 34
symfonytwig2.0.0, 3.0.0

Timeline

  • Feb 4, 2022 CVE Published
  • Feb 8, 2022 EPSS Score
  • Mar 7, 2023 EPSS Score
  • Nov 7, 2023 CVE Updated
  • Nov 8, 2023 EPSS Score
  • Aug 15, 2024 EPSS Score
  • Oct 7, 2024 EPSS Score
  • Oct 20, 2024 EPSS Score
  • Mar 17, 2025 EPSS Score
  • Mar 19, 2025 EPSS Score
  • Mar 20, 2025 EPSS Score
  • Mar 27, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›