[USN-6012-1] Smarty vulnerability

George-Andrei Iosif andrei.iosif at canonical.com
Thu Apr 13 08:33:51 UTC 2023


==========================================================================
Ubuntu Security Notice USN-6012-1
April 13, 2023

smarty3 vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.10
- Ubuntu 22.04 LTS

Summary:

Smarty could be made to crash or run programs if it received a specially
crafted template.

Software Description:
- smarty3: The compiling PHP template engine

Details:

It was discovered that Smarty incorrectly parsed blocks' names and
included files' names. A remote attacker with template writing permissions
could use this issue to execute arbitrary PHP code. (CVE-2022-29221)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.10:
   smarty3                         3.1.39-2ubuntu1.22.10.1

Ubuntu 22.04 LTS:
   smarty3                         3.1.39-2ubuntu1.22.04.1

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-6012-1
   CVE-2022-29221

Package Information:
https://launchpad.net/ubuntu/+source/smarty3/3.1.39-2ubuntu1.22.10.1
https://launchpad.net/ubuntu/+source/smarty3/3.1.39-2ubuntu1.22.04.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20230413/014585ee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x211C3AF273309770.asc
Type: application/pgp-keys
Size: 2476 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20230413/014585ee/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20230413/014585ee/attachment.sig>


More information about the ubuntu-security-announce mailing list