CVE-2022-29221
HIGH8.8EPSS 25.5%smarty3 - security update
發布日:2022/5/25修改日:2026/4/28
描述
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.
受影響套件(4)
- Debian/smarty3from 0, < 3.1.39-2+deb11u1
- Debian/smarty3from 0, < 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u6
- Debian/smarty4from 0, < 4.1.1-1
- Packagist/smarty/smartyfrom 0, < 3.1.45
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
參考連結(13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-29221
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-29221
- PATCHhttps://github.com/smarty-php/smarty
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2022-29221.yaml
- WEBhttps://github.com/smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccddd
- WEBhttps://github.com/smarty-php/smarty/releases/tag/v3.1.45
- WEBhttps://github.com/smarty-php/smarty/releases/tag/v4.1.1
- WEBhttps://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c
- WEBhttps://lists.debian.org/debian-lts-announce/2022/05/msg00044.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI
- WEBhttps://security.gentoo.org/glsa/202209-09
- WEBhttps://www.debian.org/security/2022/dsa-5151