RHEL 5 : gcc (RHSA-2011:0025)

medium Nessus Plugin ID 51523

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

Updated gcc packages that fix two security issues and several compiler bugs are now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

The gcc packages include C, C++, Java, Fortran, Objective C, and Ada 95 GNU compilers, along with related support libraries. The libgcj package provides fastjar, an archive tool for Java Archive (JAR) files.

Two directory traversal flaws were found in the way fastjar extracted JAR archive files. If a local, unsuspecting user extracted a specially crafted JAR file, it could cause fastjar to overwrite arbitrary files writable by the user running fastjar. (CVE-2010-0831, CVE-2010-2322)

This update also fixes the following bugs :

* The option -print-multi-os-directory in the gcc --help output is not in the gcc(1) man page. This update applies an upstream patch to amend this. (BZ#529659)

* An internal assertion in the compiler tried to check that a C++ static data member is external which resulted in errors. This was because when the compiler optimizes C++ anonymous namespaces the declarations were no longer marked external as everything on anonymous namespaces is local to the current translation. This update corrects the assertion to resolve this issue. (BZ#503565, BZ#508735, BZ#582682)

* Attempting to compile certain .cpp files could have resulted in an internal compiler error. This update resolves this issue. (BZ#527510)

* PrintServiceLookup.lookupPrintServices with an appropriate DocFlavor failed to return a list of printers under gcj. This update includes a backported patch to correct this bug in the printer lookup service.
(BZ#578382)

* GCC would not build against xulrunner-devel-1.9.2. This update removes gcjwebplugin from the GCC RPM. (BZ#596097)

* When a SystemTap generated kernel module was compiled, gcc reported an internal compiler error and gets a segmentation fault. This update applies a patch that, instead of crashing, assumes it can point to anything. (BZ#605803)

* There was a performance issue with libstdc++ regarding all objects derived from or using std::streambuf because of lock contention between threads. This patch ensures reload uses the same value from
_S_global for the comparison, _M_add_reference () and _M_impl member of the class. (BZ#635708)

All gcc users should upgrade to these updated packages, which contain backported patches to correct these issues.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/cve-2010-0831

https://access.redhat.com/security/cve/cve-2010-2322

https://access.redhat.com/errata/RHSA-2011:0025

Plugin Details

Severity: Medium

ID: 51523

File Name: redhat-RHSA-2011-0025.nasl

Version: 1.20

Type: local

Agent: unix

Published: 1/14/2011

Updated: 1/14/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:gcc-c%2b%2b, p-cpe:/a:redhat:enterprise_linux:libmudflap, p-cpe:/a:redhat:enterprise_linux:libgfortran, p-cpe:/a:redhat:enterprise_linux:gcc-objc, p-cpe:/a:redhat:enterprise_linux:gcc-java, p-cpe:/a:redhat:enterprise_linux:libgnat, p-cpe:/a:redhat:enterprise_linux:libgcj-src, p-cpe:/a:redhat:enterprise_linux:libgcj-devel, p-cpe:/a:redhat:enterprise_linux:gcc, p-cpe:/a:redhat:enterprise_linux:libgcc, cpe:/o:redhat:enterprise_linux:5, p-cpe:/a:redhat:enterprise_linux:libgcj, p-cpe:/a:redhat:enterprise_linux:libstdc%2b%2b, p-cpe:/a:redhat:enterprise_linux:gcc-gnat, p-cpe:/a:redhat:enterprise_linux:libobjc, p-cpe:/a:redhat:enterprise_linux:gcc-gfortran, p-cpe:/a:redhat:enterprise_linux:cpp, p-cpe:/a:redhat:enterprise_linux:gcc-objc%2b%2b, p-cpe:/a:redhat:enterprise_linux:libstdc%2b%2b-devel, p-cpe:/a:redhat:enterprise_linux:libmudflap-devel

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 1/13/2011

Vulnerability Publication Date: 6/18/2010

Reference Information

CVE: CVE-2010-0831, CVE-2010-2322

BID: 41006, 41009

RHSA: 2011:0025