Amenazas en vivo

Todas las CVE / twigphp

CVE-2024-51754twigphp Twig

Baja 2.2

Prioridad
13
CVSS 3.1
2.2
EPSS
0.7%
probabilidad de explotación en 30 días · percentil 49
Requiere autenticación
Sí
Publicada
6 nov 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-668
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

Qué pasa

Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.

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.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist twig/twig < 3.11.2 3.11.2 composer require "twig/twig:^3.11.2"
Packagist twig/twig ≥ 3.12 < 3.14.1 3.14.1 composer require "twig/twig:^3.14.1"

Según OSV / GitHub Advisories (GHSA-6377-hfv9-hqf6). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.