ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-29221

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTScollabtive
All versions, no fix listed
Ubuntu:16.04:LTSgalette
All versions, no fix listed
Ubuntu:16.04:LTSgosa
All versions, no fix listed
Ubuntu:Pro:16.04:LTSsmarty3
All versions, no fix listed
Ubuntu:18.04:LTSgosa
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpostfixadmin
All versions before 3.0.2-2ubuntu0.1~esm1 (fixed in 3.0.2-2ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSsmarty3
All versions, no fix listed
Ubuntu:20.04:LTSgosa
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpostfixadmin
All versions before 3.2.1-3ubuntu0.1~esm1 (fixed in 3.2.1-3ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSsmarty3
All versions, no fix listed
Ubuntu:22.04:LTSgosa
All versions, no fix listed
Ubuntu:22.04:LTSsmarty3
All versions before 3.1.39-2ubuntu1.22.04.1 (fixed in 3.1.39-2ubuntu1.22.04.1)
Ubuntu:Pro:22.04:LTSpostfixadmin
All versions before 3.3.10-2ubuntu0.1~esm1 (fixed in 3.3.10-2ubuntu0.1~esm1)
Ubuntu:24.04:LTSgosa
All versions, no fix listed
Ubuntu:25.10gosa
All versions, no fix listed
Ubuntu:26.10gosa
All versions, no fix listed
Ubuntu:26.04:LTSgosa
All versions, no fix listed

References