CVE-2024-35226
HIGH7.3EPSS 0.28%Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag
發布日:2024/5/29修改日:2025/11/4
描述
### 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.
受影響套件(4)
- Debian/smarty3from 0, < 3.1.39-2+deb11u2
- Debian/smarty4from 0, < 4.3.0-1+deb12u2
- Debian/smarty4from 0, < 4.3.0-1+deb12u2
- Packagist/smarty/smarty>= 5.0.0, < 5.1.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-35226
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-35226
- PATCHhttps://github.com/smarty-php/smarty
- WEBhttps://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a
- WEBhttps://github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w
- WEBhttps://lists.debian.org/debian-lts-announce/2024/11/msg00013.html