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.
Published: 2022-01-10
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2995-1 smarty3 security update
Debian DSA Debian DSA DSA-5151-1 smarty3 security update
EUVD EUVD EUVD-2022-0443 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.
Github GHSA Github GHSA GHSA-4h9c-v5vg-5m6m Access to restricted PHP code by dynamic static class access in smarty
Ubuntu USN Ubuntu USN USN-5348-1 Smarty vulnerabilities
Ubuntu USN Ubuntu USN USN-5348-2 Smarty vulnerabilities
Ubuntu USN Ubuntu USN USN-5348-3 Smarty vulnerabilities
History

Wed, 23 Apr 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Smarty Smarty
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T19:14:12.719Z

Reserved: 2020-12-22T00:00:00.000Z

Link: CVE-2021-21408

cve-icon Vulnrichment

Updated: 2024-08-03T18:09:16.192Z

cve-icon NVD

Status : Modified

Published: 2022-01-10T20:15:07.913

Modified: 2024-11-21T05:48:17.783

Link: CVE-2021-21408

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses