Remote Code Execution (RCE) Affecting smarty/smarty package, versions <3.1.42 >=4.0.0, <4.0.2
Snyk CVSS
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Confidentiality
High
Integrity
High
Threat Intelligence
EPSS
0.3% (70th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-SMARTYSMARTY-2332184
- published 12 Jan 2022
- disclosed 11 Jan 2022
- credit Unknown
Introduced: 11 Jan 2022
CVE-2021-29454 Open this link in a new tabHow to fix?
Upgrade smarty/smarty
to version 3.1.42, 4.0.2 or higher.
Overview
Affected versions of this package are vulnerable to Remote Code Execution (RCE) by allowing template authors to run arbitrary PHP code using a malicious math string. If a math string was passed through as user-provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string.