CVE-2021-29454
Sandbox Escape by math function in smarty
8.1
HIGH
CVSS 3.1
EPSS 1.9%
描述
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting 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. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.
如何修補 CVE-2021-29454
要修補 CVE-2021-29454,請將受影響套件升級到下列已修補版本。
- —升級至 3.1.42 或更新版本
CVE-2021-29454 正在被利用嗎?
低 — EPSS 為 1.9%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 3.1.42
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |