Skip to content
OpenAdvisories
High CVE-2014-8350 EUVD-2022-2026GHSA-2pmx-6mm6-6v72

Smarty arbitrary PHP code execution

Published Nov 3, 2014 · Updated Aug 6, 2024 · Assigned by debian

Description

Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 smarty3 3.1.21-1 —
Debian 13 smarty3 3.1.21-1 —
Debian 12 smarty3 3.1.21-1 —
Debian 7 smarty3 3.1.10-2+deb7u1 DLA-452-1

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist smarty/smarty < 3.1.21 3.1.21 GHSA-2pmx-6mm6-6v72

Advisories 1

References