openSUSE Security Update: logrotate: Multiple security fixes ______________________________________________________________________________
Announcement ID: openSUSE-SU-2011:0536-1 Rating: moderate References: #677336 #679661 #679662 Cross-References: CVE-2011-1098 CVE-2011-1154 CVE-2011-1155
Affected Products: openSUSE 11.4 openSUSE 11.3 ______________________________________________________________________________
An update that fixes three vulnerabilities is now available.
Description:
This update for logrotate provides the following fixes:
* The shred_file function in logrotate might allow context-dependent attackers to execute arbitrary commands via shell metacharacters in a log filename, as demonstrated by a filename that is automatically constructed on the basis of a hostname or virtual machine name (CVE-2011-1154) (bnc#679661)
* Race condition in the createOutputFile function in logrotate allows local users to read log data by opening a file before the intended permissions are in place (CVE-2011-1098) (bnc#677336)
* The writeState function in logrotate might allow context-dependent attackers to cause a denial of service (rotation outage) via a (1) \n (newline) or (2) \ (backslash) character in a log filename, as demonstrated by a filename that is automatically constructed on the basis of a hostname or virtual machine name (CVE-2011-1155) (bnc#679662)
Patch Instructions:
To install this openSUSE Security Update use YaST online_update. Alternatively you can run the command listed for your product:
- openSUSE 11.4:
zypper in -t patch logrotate-4580
- openSUSE 11.3:
zypper in -t patch logrotate-4580
To bring your system up-to-date, use "zypper patch".
Package List:
- openSUSE 11.4 (i586 x86_64):
logrotate-3.7.9-6.7.1
- openSUSE 11.3 (i586 x86_64):
logrotate-3.7.8-7.3.1
References:
http://support.novell.com/security/cve/CVE-2011-1098.html http://support.novell.com/security/cve/CVE-2011-1154.html http://support.novell.com/security/cve/CVE-2011-1155.html https://bugzilla.novell.com/677336 https://bugzilla.novell.com/679661 https://bugzilla.novell.com/679662