CVE-2022-29221
Summary
| CVE | CVE-2022-29221 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-24 15:15:00 UTC |
| Updated | 2023-11-07 03:45:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 36 Update: php-Smarty-3.1.47-1.fc36 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| PHP Code Injection by malicious block or filename · Advisory · smarty-php/smarty · GitHub |
CONFIRM |
github.com |
|
| [SECURITY] [DLA 3033-1] smarty3 security update |
MLIST |
lists.debian.org |
|
| [SECURITY] Fedora 37 Update: php-Smarty-3.1.47-1.fc37 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Release v4.1.1 · smarty-php/smarty · GitHub |
MISC |
github.com |
|
| Merge branch 'security/blockfunctioninjection' · smarty-php/smarty@64ad644 · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 37 Update: php-Smarty-3.1.47-1.fc37 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Smarty: Multiple vulnerabilities (GLSA 202209-09) — Gentoo security |
GENTOO |
security.gentoo.org |
|
| Release v3.1.45 · smarty-php/smarty · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 36 Update: php-Smarty-3.1.47-1.fc36 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Debian -- Security Information -- DSA-5151-1 smarty3 |
DEBIAN |
www.debian.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 179328 Debian Security Update for smarty3 (DLA 3033-1)
- 179330 Debian Security Update for smarty3 (DSA 5151-1)
- 182181 Debian Security Update for smarty3smarty4 (CVE-2022-29221)
- 199284 Ubuntu Security Notification for Smarty Vulnerability (USN-6012-1)
- 199998 Ubuntu Security Notification for PostfixAdmin Vulnerabilities (USN-6550-1)
- 283228 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-52154efd61)
- 283474 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-d5fc9dcdd7)
- 710622 Gentoo Linux Smarty Multiple Vulnerabilities (GLSA 202209-09)