Arbitrary Code Injection Affecting smarty/smarty package, versions <3.1.32


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (75th percentile)

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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SMARTYSMARTY-72032
  • published18 Feb 2018
  • disclosed3 Jan 2018
  • creditUnknown

Introduced: 3 Jan 2018

CVE-2017-1000480  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade smarty/smarty to version 3.1.32 or higher.

Overview

smarty/smarty is a compiling PHP template engine.

Affected versions of this package are vulnerable to Arbitrary Code Injection, when calling fetch() or display() functions on custom resources that does not sanitize template name.

CVSS Scores

version 3.1