Amenazas en vivo

Todas las CVE / Smarty

CVE-2022-29221Smarty

Alta 8.8

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

Qué pasa

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.

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 Smarty.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist smarty/smarty < 3.1.45 3.1.45 composer require "smarty/smarty:^3.1.45"
Packagist smarty/smarty ≥ 4.0.0 < 4.1.1 4.1.1 composer require "smarty/smarty:^4.1.1"

Según OSV / GitHub Advisories (GHSA-634x-pc3q-cf4c). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
smartysmarty< 3.1.45
smartysmarty≥ 4.0.0 < 4.1.1
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora36
fedoraprojectfedora37

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.