- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200903-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
     Title: Xerces-C++: Denial of Service
      Date: March 09, 2009
      Bugs: #240496
        ID: 200903-19

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An error in Xerces-C++ allows for a Denial of Service via malicious XML
schema files.

Background
==========

Xerces-C++ is a validating XML parser written in a portable subset of
C++.

Affected packages
=================

-------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  dev-libs/xerces-c     < 3.0.0-r1                      >= 3.0.0-r1

Description
===========

Frank Rast reported that the XML parser in Xerces-C++ does not
correctly handle an XML schema definition with a large maxOccurs value,
which triggers excessive memory consumption during the validation of an
XML file.

Impact
======

A remote attacker could entice a user or automated system to validate
an XML file using a specially crafted XML schema file, leading to a
Denial of Service (stack consumption and crash).

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Xerces-C++ users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-libs/xerces-c-3.0.0-r1"

References
==========

[ 1 ] CVE-2008-4482
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4482

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200903-19.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQIcBAABAgAGBQJJtSE2AAoJECaaHo/OfoM5rqwP/RQN+HE2NdOuncTkkMXe9JTn
13bAHgi+kTW9PAbPMCBoa0nxJdU53RGICRp2zhtoT6IfSsXHMlijP4JfL3kNFRE2
kWpNcN2p6DQwmk6McO+tFSBMTFc4dj+5zKKVFecc0DiOySPC3XxDVAUILE0m5dVl
60cR45W48k3jffPhAA3SuM2qZ3Xzsf0Z5i+uKt2VHW7k/GdljeWV7TCD6G6GuhUi
c5VdooYxJsa46lknEJvLyyaS14fXJigdWqulJAb1dACRCJ9phuGs7hTgNBAVBQpz
HAUuZVPvWa884rSll3PHBvLLoQ+pHTnXVK8t2UgEv7I8hUhxEFuH+QRPsiiFBlfP
A/kPcQ8H2I8/scPxVFMJq+TWnPJtYEV7lbqZ+vEnW6f/voaLiyw/lilqyGPHpBbK
ulyBlX1QzegErtrWVxGYE2kox0Eoe0NvzKvmOkfylL/xF+dWwgwcvb496EEkCKgj
2dsOGQWvSVtO7I5HoN7HZ1GazHcolzManmlxT6KsxMx3TZx/4/28xmSCNjtYDUi2
AIyguIMHA7q4VvaCAUhx+LJVRWutR2ihMAdON5ui8iWME6csZVWanzoD7EIT8ncF
ETHlcvHwvh0gBRxGUtrblBM3UiGVz1mN3DHzv/xEZos8DLOuLrE5/KcidUDkmONd
mubCYCRnQdLGpe8QEsHf
=A9i1
-----END PGP SIGNATURE-----