要点
- CVE-2024-35226 是影响 smarty/smarty 的高危 (CVSS 7.3)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.51%,高于 43.3% 的漏洞。
- 修复:升级到 4.5.3, 5.1.1 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| smarty/smarty Packagist | ≥ 3.0.0, < 4.5.3≥ 5.0.0, < 5.1.1
| 4.5.35.1.1
|
Description
Impact
Template authors could inject php code by choosing a malicous file name for an extends-tag. Users that cannot fully trust template authors should update asap.
Patches
Please upgrade to the most recent version of Smarty v4 or v5. There is no patch for v3.
NVD description
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free