CVE-2022-29221
mediumPriorität · beachten · 47EPSS 0.049 · 92. PerzentilExploit · PoCEURUUSEPSS · bewertet 2026-10-27
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.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 6.5–8.8
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
Exploits (1)
Öffentlicher Proof-of-Concept- und Exploit-Code.
- sbani/CVE-2022-29221-PoCCVE-2022-29221 Proof of Concept Code - Smarty RCEPoC · poc_in_github
betroffene Produkte (13)
Betroffene Produkte und Versionsbereiche.
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-634x-pc3q-cf4cPHP Code Injection by malicious block or filename in Smarty2022-05-25ghsa · osvUS
### Impact Template authors could inject php code by choosing a malicous {block} name or {include} file name. Sites that cannot fully trust template authors should update asap. ### Patches Please upgrade to the most recent version of Smarty v3 or v4. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ ### References _Are there any links users can visit to find out more?_ ### For more information If you have any questions or comments about this advisory: * Open an issue in [the Smarty repo](https://github.com/smarty-php/smarty)
auch bekannt als (5)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (34)
Externe Belege — Patches, Meldungen, Analysen.
- http://github.com/smarty-php/smarty/releases/tag/v4.1.1Patchcnnvd
- https://cxsecurity.com/cveshow/CVE-2022-29221/cnnvd
- https://github.com/smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccdddcnnvd
- https://github.com/smarty-php/smarty/releases/tag/v3.1.45cnnvd
- https://github.com/smarty-php/smarty/releases/tag/v4.1.1cnnvd
- https://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4ccnnvd
- https://lists.debian.org/debian-lts-announce/2022/05/msg00044.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/cnnvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan