GLSA 201006-13: Smarty: Multiple vulnerabilities
Severity: | normal |
Title: | Smarty: Multiple vulnerabilities |
Date: | 06/02/2010 |
Bugs: |
|
ID: | 201006-13 |
Synopsis
Multiple vulnerabilities in the Smarty template engine might allow remote attackers to execute arbitrary PHP code.Background
Smarty is a template engine for PHP.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
dev-php/smarty | < 2.6.23 | >= 2.6.23 | All supported architectures |
Description
Multiple vulnerabilities have been discovered in Smarty:
- The vendor reported that the modifier.regex_replace.php plug-in contains an input sanitation flaw related to the ASCII NUL character (CVE-2008-1066).
- The vendor reported that the _expand_quoted_text() function in libs/Smarty_Compiler.class.php contains an input sanitation flaw via multiple vectors (CVE-2008-4810, CVE-2008-4811).
- Nine:Situations:Group::bookoo reported that the smarty_function_math() function in libs/plugins/function.math.php contains input sanitation flaw (CVE-2009-1669).
Impact
These issues might allow a remote attacker to execute arbitrary PHP code.
Workaround
There is no known workaround at this time.
Resolution
All Smarty users should upgrade to an unaffected version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-php/smarty-2.6.23"
NOTE: This is a legacy GLSA. Updates for all affected architectures are available since June 2, 2009. It is likely that your system is already no longer affected by this issue.
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 2010 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.