Access to restricted PHP code by dynamic static class access in smarty
CVE-2021-21408

8.8HIGH

Key Information:

Vendor

Smarty-PHP

Status
Vendor
CVE Published:
10 January 2022

What is CVE-2021-21408?

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 Version(s)

smarty < 3.1.43 < 3.1.43

smarty >= 4.0.0, < 4.0.3 < 4.0.0, 4.0.3

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.