Joined: 12 May 2004
|Posted: Mon Mar 09, 2009 10:26 pm Post subject: [ GLSA 200903-19 ] Xerces-C++: Denial of Service
|Gentoo Linux Security Advisory
Title: Xerces-C++: Denial of Service (GLSA 200903-19)
Date: March 09, 2009
An error in Xerces-C++ allows for a Denial of Service via malicious XML schema files.
Xerces-C++ is a validating XML parser written in a portable subset of C++.
Vulnerable: < 3.0.0-r1
Unaffected: >= 3.0.0-r1
Architectures: All supported architectures
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.
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).
There is no known workaround at this time.
All Xerces-C++ users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/xerces-c-3.0.0-r1"