Gentoo Logo

libxml2: Denial of Service

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201009-07 / libxml2
Release Date September 21, 2010
Latest Revision September 21, 2010: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/libxml2 < 2.7.3-r2 >= 2.7.3-r2 All supported architectures

Related bugreports: #280617

Synopsis

Multiple Denial of Services vulnerabilities were found in libxml2.

2.  Impact Information

Background

libxml2 is a library to manipulate XML files.

Description

The following vulnerabilities were reported after a test with the Codenomicon XML fuzzing framework:

  • Two use-after-free vulnerabilities are possible when parsing a XML file with Notation or Enumeration attribute types (CVE-2009-2416).
  • A stack consumption vulnerability can be triggered via a large depth of element declarations in a DTD, related to a function recursion (CVE-2009-2414).

Impact

A remote attacker could entice a user or automated system to open a specially crafted XML document with an application using libxml2 resulting in a Denial of Service condition.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libxml2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libxml2-2.7.3-r2"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since August 30, 2009. It is likely that your system is already no longer affected by this issue.

4.  References



Print

Page updated September 21, 2010

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.