CVE-2024-35226 Affecting smarty3 package, versions <3.1.48-1ubuntu0.24.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (11th 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 IDSNYK-UBUNTU2404-SMARTY3-7191165
  • published13 Dec 2024
  • disclosed28 May 2024

Introduced: 28 May 2024

CVE-2024-35226  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 smarty3 to version 3.1.48-1ubuntu0.24.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream smarty3 package and not the smarty3 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.