Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-21408 Details

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664 CVEPatchThird Party Advisory
https://github.com/smarty-php/smarty/releases/tag/v3.1.43 CVERelease NotesThird Party Advisory
https://github.com/smarty-php/smarty/releases/tag/v4.0.3 CVERelease NotesThird Party Advisory
https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m CVEThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html CVEMailing ListThird Party Advisory

see all 18 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-20Improper Input Validation[email protected]
CWE-20Improper Input Validation[email protected]

Affected Products

ProductVersions
smarty smarty
< 3.1.43
>= 4.0.0, < 4.0.3

CPE

  • cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
9.0
10.0
11.0

CPE

  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
36
37

CPE

  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

15 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-21408
NVD Published Date:
Jan 10, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-21408 Details - Not Deferred