Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Titlegcc security and bug fix update
Informations
NameRHSA-2011:0025First vendor Publication2011-01-13
VendorRedHatLast vendor Modification2011-01-13
Severity (Vendor) LowRevision01

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:N/I:P/A:P)
Cvss Base Score5.8Attack RangeNetwork
Cvss Impact Score4.9Attack ComplexityMedium
Cvss Expoit Score8.6AuthenticationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Problem 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.

2. Relevant releases/architectures:

RHEL Desktop Workstation (v. 5 client) - i386, x86_64 Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64 Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

3. Description:

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.

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 http://kbase.redhat.com/faq/docs/DOC-11259

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

503565 - libtorrent-rasterbar won't compile, internal compiler error: in make_rtl_for_nonlocal_decl 508735 - internal gcc error 527510 - Internal compiler error from gcc 529659 - Option -print-multi-os-directory is not described in man page gcc(1) 578382 - PrintServiceLookup.lookupPrintServices(DocFlavor.SERVICE_FORMATTED.PAGEABLE, null) in a simple test java program fails to list printers when run with gcj - Any conventional JRE seems to work that I have tested 582682 - internal compiler error: in make_rtl_for_nonlocal_decl 594497 - CVE-2010-0831 CVE-2010-2322 fastjar: directory traversal vulnerabilities 596097 - gcc doesn't build against xulrunner-devel-1.9.2 605803 - gcc gets an internal compiler error when compiling a kernel module 635708 - Huge performance problem with libstdc++ and multithread applications

Original Source

Url : https://rhn.redhat.com/errata/RHSA-2011-0025.html

CWE : Common Weakness Enumeration

idName
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:13036
 
Oval ID: oval:org.mitre.oval:def:13036
Title: USN-953-1 -- fastjar vulnerability
Description: Dan Rosenberg discovered that fastjar incorrectly handled file paths containing ".." when unpacking archives. If a user or an automated system were tricked into unpacking a specially crafted jar file, arbitrary files could be overwritten with user privileges.
Family: unix Class: patch
Reference(s): USN-953-1
CVE-2010-0831
Version: 5
Platform(s): Ubuntu 8.04
Ubuntu 10.04
Ubuntu 9.04
Ubuntu 9.10
Product(s): fastjar
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:25713
 
Oval ID: oval:org.mitre.oval:def:25713
Title: SUSE-SU-2013:1632-1 -- Security update for fastjar
Description: This fastjar update fixes a directory traversal issue (bnc#607043). Security Issue reference: * CVE-2010-0831 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0831 >
Family: unix Class: patch
Reference(s): SUSE-SU-2013:1632-1
CVE-2010-0831
Version: 3
Platform(s): SUSE Linux Enterprise Server 11
Product(s): fastjar
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21917
 
Oval ID: oval:org.mitre.oval:def:21917
Title: RHSA-2011:0025: gcc security and bug fix update (Low)
Description: Absolute path traversal vulnerability in the extract_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite arbitrary files via a full pathname for a file within a .jar archive, a related issue to CVE-2010-0831. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-3619.
Family: unix Class: patch
Reference(s): RHSA-2011:0025-01
CVE-2010-0831
CVE-2010-2322
Version: 29
Platform(s): Red Hat Enterprise Linux 5
Product(s): gcc
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:23176
 
Oval ID: oval:org.mitre.oval:def:23176
Title: ELSA-2011:0025: gcc security and bug fix update (Low)
Description: Absolute path traversal vulnerability in the extract_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite arbitrary files via a full pathname for a file within a .jar archive, a related issue to CVE-2010-0831. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-3619.
Family: unix Class: patch
Reference(s): ELSA-2011:0025-01
CVE-2010-0831
CVE-2010-2322
Version: 13
Platform(s): Oracle Linux 5
Product(s): gcc
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application1

OpenVAS Exploits

DateDescription
2012-10-03Name : Gentoo Security Advisory GLSA 201209-21 (fastjar)
File : nvt/glsa_201209_21.nasl
2011-01-14Name : RedHat Update for gcc RHSA-2011:0025-01
File : nvt/gb_RHSA-2011_0025-01_gcc.nasl
2010-07-12Name : Fedora Update for gcc FEDORA-2010-10640
File : nvt/gb_fedora_2010_10640_gcc_fc12.nasl
2010-07-12Name : Fedora Update for libtool FEDORA-2010-10640
File : nvt/gb_fedora_2010_10640_libtool_fc12.nasl
2010-07-06Name : Fedora Update for gcc FEDORA-2010-10415
File : nvt/gb_fedora_2010_10415_gcc_fc13.nasl
2010-06-25Name : Mandriva Update for fastjar MDVSA-2010:122 (fastjar)
File : nvt/gb_mandriva_MDVSA_2010_122.nasl
2010-06-25Name : Ubuntu Update for fastjar vulnerability USN-953-1
File : nvt/gb_ubuntu_USN_953_1.nasl
2010-04-19Name : Mandriva Update for k3b MDVA-2010:122 (k3b)
File : nvt/gb_mandriva_MDVA_2010_122.nasl

Open Source Vulnerability Database (OSVDB)

idDescription
65467FastJar jartool.c extract_jar Function Traversal Arbitrary File Overwrite

Nessus® Vulnerability Scanner

DateDescription
2013-11-07Name : The remote SuSE 11 host is missing a security update.
File : suse_11_fastjar-130927.nasl - Type : ACT_GATHER_INFO
2012-09-28Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201209-21.nasl - Type : ACT_GATHER_INFO
2012-08-01Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20110113_gcc_on_SL5_x.nasl - Type : ACT_GATHER_INFO
2011-01-14Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2011-0025.nasl - Type : ACT_GATHER_INFO
2010-07-07Name : The remote Fedora host is missing one or more security updates.
File : fedora_2010-10640.nasl - Type : ACT_GATHER_INFO
2010-07-06Name : The remote Fedora host is missing a security update.
File : fedora_2010-10415.nasl - Type : ACT_GATHER_INFO
2010-06-23Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2010-122.nasl - Type : ACT_GATHER_INFO
2010-06-22Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-953-1.nasl - Type : ACT_GATHER_INFO

Alert History

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