Amenazas en vivo

Todas las CVE / Symfony

CVE-2022-23614Symfony Twig

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
6.6%
probabilidad de explotación en 30 días · percentil 95
Requiere autenticación
No
Publicada
4 feb 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-74, CWE-94
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Twig.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist twig/twig ≥ 2.0.0 < 2.14.11 2.14.11 composer require "twig/twig:^2.14.11"
Packagist twig/twig ≥ 3.0.0 < 3.3.8 3.3.8 composer require "twig/twig:^3.3.8"

Según OSV / GitHub Advisories (GHSA-5mv2-rx3q-4w2v). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
symfonytwig≥ 2.0.0 < 2.14.11
symfonytwig≥ 3.0.0 < 3.3.8
fedoraprojectfedora34
fedoraprojectfedora35
debiandebian_linux11.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.