> CVE-2021-21408 [HIGH]

« BACK_TO_HOME
PUBLISHED
2022-01-10 20:15
MODIFIED
2024-11-21 05:48
CVSS_SCORE V3
8.8
EPSS (Prob. Exploit)
2.14%
Top 17.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> DESCRIPTION

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 to receive a patch.

> AFFECTED_PRODUCTS

Debian - Debian Linux
Version: 9.0
Debian - Debian Linux
Version: 10.0
Debian - Debian Linux
Version: 11.0
Fedoraproject - Fedora
Version: 36
Fedoraproject - Fedora
Version: 37
Smarty - Smarty
< 3.1.43
Smarty - Smarty
>= 4.0.0 < 4.0.3

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-4h9c-v5vg-5m6m HIGH

Access to restricted PHP code by dynamic static class access in smarty

AFFECTED PACKAGES:
COMPOSER / smarty/smarty
>= 4.0.0, < 4.0.3
Fixed in: 4.0.3
COMPOSER / smarty/smarty
< 3.1.43
Fixed in: 3.1.43

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
40 versions affected
ALIASES:
GHSA-4h9c-v5vg-5m6m

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/01/2022 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:30
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME