Linux Security
Linux Security
Linux Security

Debian: DSA-1919-2: New smarty packages fix regression

Date 17 Aug 2010
138
Posted By LinuxSecurity Advisories
A regression was found in the patch applied in DSA 1919-1 to smarty, which caused compilation failures on some specific templates. This update corrects the fix. For reference, the full advisory text below.

- ------------------------------------------------------------------------
Debian Security Advisory DSA-1919-2                  This email address is being protected from spambots. You need JavaScript enabled to view it.
https://www.debian.org/security/                          Thijs Kinkhorst
August 17, 2010                       https://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : smarty
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CVE-2008-4810 CVE-2009-1669
Debian Bug     : 504328 529810

A regression was found in the patch applied in DSA 1919-1 to smarty,
which caused compilation failures on some specific templates. This
update corrects the fix. For reference, the full advisory text below.

Several remote vulnerabilities have been discovered in Smarty, a PHP
templating engine. The Common Vulnerabilities and Exposures project
identifies the following problems:

CVE-2008-4810

  The _expand_quoted_text function allows for certain restrictions in
  templates, like function calling and PHP execution, to be bypassed.

CVE-2009-1669

  The smarty_function_math function allows context-dependent attackers
  to execute arbitrary commands via shell metacharacters in the equation
  attribute of the math function.

For the stable distribution (lenny), this problem has been fixed in
version 2.6.20-1.3.

The testing (squeeze) and unstable distribution (sid) are not affected
by this regression.

We recommend that you upgrade your smarty package.


Upgrade instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 5.0 alias lenny
- --------------------------------

Source archives:

  https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.20.orig.tar.gz
    Size/MD5 checksum:   158091 35f405b2418a26a895302a2ce5bf89d2
  https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.20-1.3.diff.gz
    Size/MD5 checksum:     4861 fa15219470bdf157e4ccf0d20e6df918
  https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.20-1.3.dsc
    Size/MD5 checksum:     1410 bdcbd684b08f012832e99a68b33b2bc7

Architecture independent packages:

  https://security.debian.org/pool/updates/main/s/smarty/smarty_2.6.20-1.3_all.deb
    Size/MD5 checksum:   204244 aef92eaf06b3bc912717fc0fcf27de53


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb https://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
Package info: `apt-cache show ' and https://packages.debian.org/

Advisories

LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
/main-polls/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"43","type":"x","order":"1","pct":81.13,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"5","type":"x","order":"2","pct":9.43,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":9.43,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.

VOTE ON THE POLL PAGE


VIEW MORE POLLS

bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.