Code Injection in Smarty - CVE-2021-21408
Published: March 28, 2022
Vulnerability identifier: #VU61665
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-21408
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: smarty.php.net
Affected software:
Smarty
Smarty
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation. A remote user with access to template can run restricted static PHP methods.
How to mitigate CVE-2021-21408
Install updates from vendor's website.