Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title rsyslog security, bug fix, and enhancement update
Informations
Name RHSA-2012:0796 First vendor Publication 2012-06-20
Vendor RedHat Last vendor Modification 2012-06-20
Severity (Vendor) Moderate Revision 04

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:N/I:N/A:P)
Cvss Base Score 2.1 Attack Range Local
Cvss Impact Score 2.9 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Problem Description:

Updated rsyslog packages that fix one security issue, multiple bugs, and add two enhancements are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64 Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64 Red Hat Enterprise Linux HPC Node (v. 6) - x86_64 Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64 Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64 Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

The rsyslog packages provide an enhanced, multi-threaded syslog daemon.

A numeric truncation error, leading to a heap-based buffer overflow, was found in the way the rsyslog imfile module processed text files containing long lines. An attacker could use this flaw to crash the rsyslogd daemon or, possibly, execute arbitrary code with the privileges of rsyslogd, if they are able to cause a long line to be written to a log file that rsyslogd monitors with imfile. The imfile module is not enabled by default. (CVE-2011-4623)

Bug fixes:

* Several variables were incorrectly deinitialized with Transport Layer Security (TLS) transport and keys in PKCS#8 format. The rsyslogd daemon aborted with a segmentation fault when keys in this format were provided. Now, the variables are correctly deinitialized. (BZ#727380)

* Previously, the imgssapi plug-in initialization was incomplete. As a result, the rsyslogd daemon aborted when configured to provide a GSSAPI listener. Now, the plug-in is correctly initialized. (BZ#756664)

* The fully qualified domain name (FQDN) for the localhost used in messages was the first alias found. This did not always produce the expected result on multihomed hosts. With this update, the algorithm uses the alias that corresponds to the hostname. (BZ#767527)

* The gtls module leaked a file descriptor every time it was loaded due to an error in the GnuTLS library. No new files or network connections could be opened when the limit for the file descriptor count was reached. This update modifies the gtls module so that it is not unloaded during the process lifetime. (BZ#803550)

* rsyslog could not override the hostname to set an alternative hostname for locally generated messages. Now, the local hostname can be overridden. (BZ#805424)

* The rsyslogd init script did not pass the lock file path to the 'status' action. As a result, the lock file was ignored and a wrong exit code was returned. This update modifies the init script to pass the lock file to the 'status' action. Now, the correct exit code is returned. (BZ#807608)

* Data could be incorrectly deinitialized when rsyslogd was supplied with malformed spool files. The rsyslogd daemon could be aborted with a segmentation fault. This update modifies the underlying code to correctly deinitialize the data. (BZ#813079)

* Previously, deinitialization of non-existent data could, in certain error cases, occur. As a result, rsyslogd could abort with a segmentation fault when rsyslog was configured to use a disk assisted queue without specifying a spool file. With this update, the error cases are handled gracefully. (BZ#813084)

* The manual page wrongly stated that the '-d' option to turn on debugging caused the daemon to run in the foreground, which was misleading as the current behavior is to run in the background. Now, the manual page reflects the correct behavior. (BZ#820311)

* rsyslog attempted to write debugging messages to standard output even when run in the background. This resulted in the debugging information being written to some other output. This was corrected and the debug messages are no longer written to standard output when run in the background. (BZ#820996)

* The string buffer to hold the distinguished name (DN) of a certificate was too small. DNs with more than 128 characters were not displayed. This update enlarges the buffer to process longer DNs. (BZ#822118)

Enhancements:

* Support for rate limiting and multi-line message capability. Now, rsyslogd can limit the number of messages it accepts through a UNIX socket. (BZ#672182)

* The addition of the "/etc/rsyslog.d/" configuration directory to supply syslog configuration files. (BZ#740420)

All users of rsyslog are advised to upgrade to these updated packages, which upgrade rsyslog to version 5.8.10 and correct these issues and add these enhancements. After installing this update, the rsyslog daemon will be restarted automatically.

4. Solution:

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

740420 - Add a /etc/rsyslog.d config directory 769822 - CVE-2011-4623 rsyslog: DoS due integer signedness error while extending rsyslog counted string buffer 803550 - rsyslog fails to initialize gtls driver because of too many open files 813079 - rsyslog segfaults attempting to read a malformed / old format spool file 813084 - rsyslog segfaults when configured with disk queue with non-existent (unnamed) spool file 820311 - Manpage: rsyslogd does the fork in debug mode while manpage says otherwise 820996 - rsyslog writes debug messages to fd 1 even after forking

Original Source

Url : https://rhn.redhat.com/errata/RHSA-2012-0796.html

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-189 Numeric Errors (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:15456
 
Oval ID: oval:org.mitre.oval:def:15456
Title: USN-1338-1 -- Rsyslog vulnerability
Description: rsyslog: Enhanced syslogd Rsyslog could be made to crash if it processed a specially crafted log message.
Family: unix Class: patch
Reference(s): USN-1338-1
CVE-2011-4623
Version: 5
Platform(s): Ubuntu 11.04
Product(s): Rsyslog
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21554
 
Oval ID: oval:org.mitre.oval:def:21554
Title: RHSA-2012:0796: rsyslog security, bug fix, and enhancement update (Moderate)
Description: Integer overflow in the rsCStrExtendBuf function in runtime/stringbuf.c in the imfile module in rsyslog 4.x before 4.6.6, 5.x before 5.7.4, and 6.x before 6.1.4 allows local users to cause a denial of service (daemon hang) via a large file, which triggers a heap-based buffer overflow.
Family: unix Class: patch
Reference(s): RHSA-2012:0796-04
CESA-2012:0796
CVE-2011-4623
Version: 4
Platform(s): Red Hat Enterprise Linux 6
CentOS Linux 6
Product(s): rsyslog
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:22990
 
Oval ID: oval:org.mitre.oval:def:22990
Title: ELSA-2012:0796: rsyslog security, bug fix, and enhancement update (Moderate)
Description: Integer overflow in the rsCStrExtendBuf function in runtime/stringbuf.c in the imfile module in rsyslog 4.x before 4.6.6, 5.x before 5.7.4, and 6.x before 6.1.4 allows local users to cause a denial of service (daemon hang) via a large file, which triggers a heap-based buffer overflow.
Family: unix Class: patch
Reference(s): ELSA-2012:0796-04
CVE-2011-4623
Version: 6
Platform(s): Oracle Linux 6
Product(s): rsyslog
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:27839
 
Oval ID: oval:org.mitre.oval:def:27839
Title: DEPRECATED: ELSA-2012-0796 -- rsyslog security, bug fix, and enhancement update (moderate)
Description: [5.8.10-2] - add patch to update information on debugging in the man page Resolves: #820311 - add patch to prevent debug output to stdout after forking Resolves: #820996 - add patch to support ssl certificates with domain names longer than 128 chars Resolves: #822118 [5.8.10-1] - rebase to rsyslog 5.8.10 Resolves: #803550 Resolves: #805424 Resolves: #813079 Resolves: #813084 - consider lock file in 'status' action Resolves: #807608 - add impstats and imptcp modules - include new license text files - specify which versions of sysklogd are obsoleted [5.8.7-1] - rebase to rsyslog-5.8.7 - change license from 'GPLv3+' to '(GPLv3+ and ASL 2.0)' http://blog.gerhards.net/2012/01/rsyslog-licensing-update.html - remove patches obsoleted by rebase - add patches for better sysklogd compatibility (taken from upstream) - update included files for the new major version Resolves: #672182 Resolves: #727380 Resolves: #756664 Resolves: #767527 Resolves: #769025 - add several directories for storing auxiliary data Resolves: #740420 - fix source package URL
Family: unix Class: patch
Reference(s): ELSA-2012-0796
CVE-2011-4623
Version: 4
Platform(s): Oracle Linux 6
Product(s): rsyslog
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 72

OpenVAS Exploits

Date Description
2012-07-30 Name : CentOS Update for rsyslog CESA-2012:0796 centos6
File : nvt/gb_CESA-2012_0796_rsyslog_centos6.nasl
2012-06-28 Name : Mandriva Update for rsyslog MDVSA-2012:100 (rsyslog)
File : nvt/gb_mandriva_MDVSA_2012_100.nasl
2012-06-22 Name : RedHat Update for rsyslog RHSA-2012:0796-04
File : nvt/gb_RHSA-2012_0796-04_rsyslog.nasl
2012-01-25 Name : Ubuntu Update for rsyslog USN-1338-1
File : nvt/gb_ubuntu_USN_1338_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
78510 rsyslog runtime/stringbuf.c rsCStrExtendBuf() Function Message Parsing Remote...

Nessus® Vulnerability Scanner

Date Description
2014-12-26 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201412-35.nasl - Type : ACT_GATHER_INFO
2013-09-04 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2012-105.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Oracle Linux host is missing one or more security updates.
File : oraclelinux_ELSA-2012-0796.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20120620_rsyslog_on_SL6_x.nasl - Type : ACT_GATHER_INFO
2012-07-11 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2012-0796.nasl - Type : ACT_GATHER_INFO
2012-06-26 Name : The remote Mandriva Linux host is missing one or more security updates.
File : mandriva_MDVSA-2012-100.nasl - Type : ACT_GATHER_INFO
2012-06-20 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2012-0796.nasl - Type : ACT_GATHER_INFO
2012-01-24 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-1338-1.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:56:02
  • Multiple Updates