Gentoo Logo

Xerces-C++: Denial of Service

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200903-19 / xerces-c
Release Date March 09, 2009
Latest Revision March 09, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/xerces-c < 3.0.0-r1 >= 3.0.0-r1 All supported architectures

Related bugreports: #240496

Synopsis

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

2.  Impact Information

Background

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

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

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

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

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated March 09, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.