Arbitrary Code Injection Affecting smarty/smarty package, versions <3.1.45 >=4.0.0, <4.1.1


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.3% (70th percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-SMARTYSMARTY-2847867
  • published 25 May 2022
  • disclosed 25 May 2022
  • credit altm4n

How to fix?

Upgrade smarty/smarty to version 3.1.45, 4.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection. Template authors can inject php code by choosing a malicious {block} name or {include} file name.