CVE-2021-29454

Publication date 10 January 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.

Status

Package Ubuntu Release Status
smarty3 24.10 oracular
Fixed 3.1.39-2ubuntu1
24.04 LTS noble
Fixed 3.1.39-2ubuntu1
23.10 mantic
Fixed 3.1.39-2ubuntu1
23.04 lunar
Fixed 3.1.39-2ubuntu1
22.10 kinetic
Fixed 3.1.39-2ubuntu1
22.04 LTS jammy
Fixed 3.1.39-2ubuntu1
21.10 impish
Fixed 3.1.39-2ubuntu0.21.10.1
21.04 hirsute Ignored end of life
20.04 LTS focal
18.04 LTS bionic
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
16.04 LTS xenial
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
smarty3

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H