Gentoo 2503 Published by

A Smarty security update has been released for Gentoo Linux.



GLSA 202209-09 : Smarty: Multiple vulnerabilities


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202209-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Smarty: Multiple vulnerabilities
Date: September 25, 2022
Bugs: #830980, #845180, #870100
ID: 202209-09

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=======
Multiple vulnerabilities have been found in Smarty, the worst of which
could result in remote code execution

Background
=========
Smarty is a template engine for PHP. The "template security" feature of
Smarty is designed to help reduce the risk of a system compromise when
you have untrusted parties editing templates.

Affected packages
================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-php/smarty < 4.2.1 >= 4.2.1

Description
==========
Multiple vulnerabilities have been discovered in Smarty. Please review
the CVE identifiers referenced below for details.

Impact
=====
Please review the referenced CVE identifiers for details.

Workaround
=========
There is no known workaround at this time.

Resolution
=========
All Smarty users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">?v-php/smarty-4.2.1"

References
=========
[ 1 ] CVE-2018-25047
  https://nvd.nist.gov/vuln/detail/CVE-2018-25047
[ 2 ] CVE-2021-21408
  https://nvd.nist.gov/vuln/detail/CVE-2021-21408
[ 3 ] CVE-2021-29454
  https://nvd.nist.gov/vuln/detail/CVE-2021-29454
[ 4 ] CVE-2022-29221
  https://nvd.nist.gov/vuln/detail/CVE-2022-29221

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  https://security.gentoo.org/glsa/202209-09

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
  https://bugs.gentoo.org.

License
======
Copyright 2022 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

  https://creativecommons.org/licenses/by-sa/2.5