VDB
CVE-2022-29221
CVE-2022-29221
PUBLISHED
CVSS 8.800000190734863 HIGH
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.
EPSS 25.50% · 96.3th percentile
Risk Scores
CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
25.50%
96.3th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| smarty | smarty | 0, 4.0.0 |
| fedoraproject | fedora | 36, 37 |
| smarty-php | smarty | < 3.1.45, >= 4.0.0, < 4.1.1 |
| smarty | smarty | 0, 4.0.0 |
| debian | debian_linux | 10.0, 9.0, 11.0 |
Exploit Intelligence
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc-repo)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc-repo)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc-repo)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc-repo)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc-repo)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc-repo)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc)
- CVE-2022-29221 Proof of Concept Code - Smarty RCE (github-poc)
…and 10 more exploits
Timeline
- May 24, 2022 CVE Published
- May 25, 2022 EPSS Score
- Jun 7, 2022 EPSS Score
- Sep 1, 2022 EPSS Score
- Oct 19, 2022 EPSS Score
- Nov 15, 2022 EPSS Score
- Dec 7, 2022 EPSS Score
- Mar 2, 2023 EPSS Score
- Mar 15, 2023 EPSS Score
- Jun 20, 2023 EPSS Score
- Sep 26, 2023 EPSS Score
- Nov 7, 2023 CVE Updated
References
- https://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c url
- https://github.com/smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccddd url
- https://github.com/smarty-php/smarty/releases/tag/v3.1.45 url
- https://github.com/smarty-php/smarty/releases/tag/v4.1.1 url
- [debian-lts-announce] 20220529 [SECURITY] [DLA 3033-1] smarty3 security update mailing-list
- DSA-5151 vendor-advisory
- GLSA-202209-09 vendor-advisory
- FEDORA-2022-52154efd61 vendor-advisory
- FEDORA-2022-d5fc9dcdd7 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-29221 advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2022-29221.yaml url
- https://github.com/smarty-php/smarty package
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI url