Executive Summary

Summary
Title libxml2: Denial of Service
Informations
Name GLSA-201009-07 First vendor Publication 2010-09-21
Vendor Gentoo Last vendor Modification 2010-09-21
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:N/I:N/A:P)
Cvss Base Score 4.3 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Multiple Denial of Services vulnerabilities were found in libxml2.

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.

Workaround

There is no known workaround at this time.

Resolution

All libxml2 users should upgrade to the latest version:
# 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.

References

[ 1 ] CVE-2009-2414 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2414
[ 2 ] CVE-2009-2416 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2416

Availability

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

http://security.gentoo.org/glsa/glsa-201009-07.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201009-07.xml

CWE : Common Weakness Enumeration

idName
CWE-399Resource Management Errors
CWE-119Failure to Constrain Operations within the Bounds of a Memory Buffer

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:8639
 
Oval ID: oval:org.mitre.oval:def:8639
Title: VMware libxml2 stack consumption vulnerability
Description: Stack consumption vulnerability in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allows context-dependent attackers to cause a denial of service (application crash) via a large depth of element declarations in a DTD, related to a function recursion, as demonstrated by the Codenomicon XML fuzzing framework.
Family: unix Class: vulnerability
Reference(s): CVE-2009-2414
Version: 4
Platform(s): VMWare ESX Server 3
VMWare ESX Server 3.5
VMWare ESX Server 4.0
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:8132
 
Oval ID: oval:org.mitre.oval:def:8132
Title: DSA-1859 libxml2 -- several vulnerabilities
Description: Rauli Kaksonen, Tero Rontti and Jukka Taimisto discovered several vulnerabilities in libxml2, a library for parsing and handling XML data files, which can lead to denial of service conditions or possibly arbitrary code execution in the application using the library. The Common Vulnerabilities and Exposures project identifies the following problems: An XML document with specially-crafted Notation or Enumeration attribute types in a DTD definition leads to the use of a pointers to memory areas which have already been freed. Missing checks for the depth of ELEMENT DTD definitions when parsing child content can lead to extensive stack-growth due to a function recursion which can be triggered via a crafted XML document.
Family: unix Class: patch
Reference(s): DSA-1859
CVE-2009-2416
CVE-2009-2414
Version: 3
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 4.0
Product(s): libxml2
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:8116
 
Oval ID: oval:org.mitre.oval:def:8116
Title: DSA-1861 libxml -- several vulnerabilities
Description: Rauli Kaksonen, Tero Rontti and Jukka Taimisto discovered several vulnerabilities in libxml, a library for parsing and handling XML data files, which can lead to denial of service conditions or possibly arbitrary code execution in the application using the library. The Common Vulnerabilities and Exposures project identifies the following problems: An XML document with specially-crafted Notation or Enumeration attribute types in a DTD definition leads to the use of a pointers to memory areas which have already been freed. Missing checks for the depth of ELEMENT DTD definitions when parsing child content can lead to extensive stack-growth due to a function recursion which can be triggered via a crafted XML document.
Family: unix Class: patch
Reference(s): DSA-1861
CVE-2009-2416
CVE-2009-2414
Version: 3
Platform(s): Debian GNU/Linux 4.0
Product(s): libxml
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:13712
 
Oval ID: oval:org.mitre.oval:def:13712
Title: DSA-1861-1 libxml -- several
Description: Rauli Kaksonen, Tero Rontti and Jukka Taimisto discovered several vulnerabilities in libxml, a library for parsing and handling XML data files, which can lead to denial of service conditions or possibly arbitrary code execution in the application using the library. The Common Vulnerabilities and Exposures project identifies the following problems: An XML document with specially-crafted Notation or Enumeration attribute types in a DTD definition leads to the use of a pointers to memory areas which have already been freed. Missing checks for the depth of ELEMENT DTD definitions when parsing child content can lead to extensive stack-growth due to a function recursion which can be triggered via a crafted XML document. For the oldstable distribution, this problem has been fixed in version 1.8.17-14+etch1. The stable, testing and unstable distribution do not contain libxml anymore but libxml2 for which DSA-1859-1 has been released. We recommend that you upgrade your libxml packages.
Family: unix Class: patch
Reference(s): DSA-1861-1
CVE-2009-2416
CVE-2009-2414
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): libxml
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:13681
 
Oval ID: oval:org.mitre.oval:def:13681
Title: DSA-1859-1 libxml2 -- several
Description: Rauli Kaksonen, Tero Rontti and Jukka Taimisto discovered several vulnerabilities in libxml2, a library for parsing and handling XML data files, which can lead to denial of service conditions or possibly arbitrary code execution in the application using the library. The Common Vulnerabilities and Exposures project identifies the following problems: An XML document with specially-crafted Notation or Enumeration attribute types in a DTD definition leads to the use of a pointers to memory areas which have already been freed. Missing checks for the depth of ELEMENT DTD definitions when parsing child content can lead to extensive stack-growth due to a function recursion which can be triggered via a crafted XML document. For the oldstable distribution, this problem has been fixed in version 2.6.27.dfsg-6+etch1. For the stable distribution, this problem has been fixed in version 2.6.32.dfsg-5+lenny1. For the testing and unstable distribution, this problem will be fixed soon. We recommend that you upgrade your libxml2 packages.
Family: unix Class: patch
Reference(s): DSA-1859-1
CVE-2009-2416
CVE-2009-2414
Version: 5
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 4.0
Product(s): libxml2
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:10129
 
Oval ID: oval:org.mitre.oval:def:10129
Title: Stack consumption vulnerability in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allows context-dependent attackers to cause a denial of service (application crash) via a large depth of element declarations in a DTD, related to a function recursion, as demonstrated by the Codenomicon XML fuzzing framework.
Description: Stack consumption vulnerability in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allows context-dependent attackers to cause a denial of service (application crash) via a large depth of element declarations in a DTD, related to a function recursion, as demonstrated by the Codenomicon XML fuzzing framework.
Family: unix Class: vulnerability
Reference(s): CVE-2009-2414
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Red Hat Enterprise Linux 5
CentOS Linux 5
Oracle Linux 5
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:9262
 
Oval ID: oval:org.mitre.oval:def:9262
Title: Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service (application crash) via crafted (1) Notation or (2) Enumeration attribute types in an XML file, as demonstrated by the Codenomicon XML fuzzing framework.
Description: Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service (application crash) via crafted (1) Notation or (2) Enumeration attribute types in an XML file, as demonstrated by the Codenomicon XML fuzzing framework.
Family: unix Class: vulnerability
Reference(s): CVE-2009-2416
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Red Hat Enterprise Linux 5
CentOS Linux 5
Oracle Linux 5
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:7783
 
Oval ID: oval:org.mitre.oval:def:7783
Title: VMware libxml2 use-after-free vulnerability
Description: Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service (application crash) via crafted (1) Notation or (2) Enumeration attribute types in an XML file, as demonstrated by the Codenomicon XML fuzzing framework.
Family: unix Class: vulnerability
Reference(s): CVE-2009-2416
Version: 4
Platform(s): VMWare ESX Server 3
VMWare ESX Server 3.5
VMWare ESX Server 4.0
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:22743
 
Oval ID: oval:org.mitre.oval:def:22743
Title: ELSA-2009:1206: libxml and libxml2 security update (Moderate)
Description: Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service (application crash) via crafted (1) Notation or (2) Enumeration attribute types in an XML file, as demonstrated by the Codenomicon XML fuzzing framework.
Family: unix Class: patch
Reference(s): ELSA-2009:1206-01
CVE-2009-2414
CVE-2009-2416
Version: 13
Platform(s): Oracle Linux 5
Product(s): libxml
libxml2
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application1
Application5

OpenVAS Exploits

DateDescription
2011-08-09Name : CentOS Update for libxml2 CESA-2009:1206 centos5 i386
File : nvt/gb_CESA-2009_1206_libxml2_centos5_i386.nasl
2011-08-09Name : CentOS Update for libxml CESA-2009:1206 centos3 i386
File : nvt/gb_CESA-2009_1206_libxml_centos3_i386.nasl
2011-03-09Name : Gentoo Security Advisory GLSA 201009-07 (libxml2)
File : nvt/glsa_201009_07.nasl
2010-05-12Name : Mac OS X 10.6.2 Update / Mac OS X Security Update 2009-006
File : nvt/macosx_upd_10_6_2_secupd_2009-006.nasl
2009-12-10Name : Mandriva Security Advisory MDVSA-2009:200-1 (libxml)
File : nvt/mdksa_2009_200_1.nasl
2009-10-13Name : Solaris Update for XML and XSLT libraries 125731-05
File : nvt/gb_solaris_125731_05.nasl
2009-10-13Name : Solaris Update for XML and XSLT libraries 125732-05
File : nvt/gb_solaris_125732_05.nasl
2009-10-13Name : Solaris Update for libxml, libxslt and Freeware man pages 114014-24
File : nvt/gb_solaris_114014_24.nasl
2009-10-13Name : Solaris Update for libxml, libxslt and Freeware man pages 114015-24
File : nvt/gb_solaris_114015_24.nasl
2009-10-13Name : SLES10: Security update for libxml2
File : nvt/sles10_libxml20.nasl
2009-10-11Name : SLES11: Security update for libxml2
File : nvt/sles11_libxml2.nasl
2009-10-10Name : SLES9: Security update for libxml2
File : nvt/sles9p5055249.nasl
2009-10-10Name : SLES9: Security update for libxml.rpm
File : nvt/sles9p5058211.nasl
2009-09-21Name : SuSE Security Summary SUSE-SR:2009:015
File : nvt/suse_sr_2009_015.nasl
2009-09-02Name : Fedora Core 11 FEDORA-2009-8580 (mingw32-libxml2)
File : nvt/fcore_2009_8580.nasl
2009-09-02Name : Fedora Core 11 FEDORA-2009-8582 (libxml)
File : nvt/fcore_2009_8582.nasl
2009-09-02Name : Fedora Core 10 FEDORA-2009-8594 (libxml)
File : nvt/fcore_2009_8594.nasl
2009-08-17Name : CentOS Security Advisory CESA-2009:1206 (libxml2)
File : nvt/ovcesa2009_1206.nasl
2009-08-17Name : Fedora Core 10 FEDORA-2009-8491 (libxml2)
File : nvt/fcore_2009_8491.nasl
2009-08-17Name : Fedora Core 11 FEDORA-2009-8498 (libxml2)
File : nvt/fcore_2009_8498.nasl
2009-08-17Name : RedHat Security Advisory RHSA-2009:1206
File : nvt/RHSA_2009_1206.nasl
2009-08-17Name : Debian Security Advisory DSA 1859-1 (libxml2)
File : nvt/deb_1859_1.nasl
2009-08-17Name : Debian Security Advisory DSA 1861-1 (libxml)
File : nvt/deb_1861_1.nasl
2009-08-17Name : Ubuntu USN-815-1 (libxml2)
File : nvt/ubuntu_815_1.nasl
2009-08-17Name : Mandrake Security Advisory MDVSA-2009:200 (libxml)
File : nvt/mdksa_2009_200.nasl
2009-08-17Name : SuSE Security Summary SUSE-SR:2009:013
File : nvt/suse_sr_2009_013.nasl
0000-00-00Name : FreeBSD Ports: libxml
File : nvt/freebsd_libxml1.nasl
0000-00-00Name : FreeBSD Ports: libxml
File : nvt/freebsd_libxml3.nasl

Open Source Vulnerability Database (OSVDB)

idDescription
56990libxml2 DTD Element Declaration Handling Stack Consumption DoS
56985libxml2 XML File Multiple Attribute Type Handling DoS

Information Assurance Vulnerability Management (IAVM)

DateDescription
2009-09-10IAVM : 2009-T-0049 - Multiple Vulnerabilities in libxml2
Severity : Category I - VMSKEY : V0019911

Nessus® Vulnerability Scanner

DateDescription
2013-07-12Name : The remote Oracle Linux host is missing one or more security updates.
File : oraclelinux_ELSA-2009-1206.nasl - Type : ACT_GATHER_INFO
2012-08-01Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20090810_libxml_and_libxml2_on_SL3_x.nasl - Type : ACT_GATHER_INFO
2011-11-11Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_ce4b3af80b7c11e1846b00235409fd3e.nasl - Type : ACT_GATHER_INFO
2011-11-11Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_5a7d41100b7a11e1846b00235409fd3e.nasl - Type : ACT_GATHER_INFO
2011-01-27Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_libxml-6482.nasl - Type : ACT_GATHER_INFO
2010-09-22Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201009-07.nasl - Type : ACT_GATHER_INFO
2010-02-24Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1859.nasl - Type : ACT_GATHER_INFO
2010-02-24Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1861.nasl - Type : ACT_GATHER_INFO
2009-11-23Name : The remote VMware ESXi / ESX host is missing one or more security-related pat...
File : vmware_VMSA-2009-0016.nasl - Type : ACT_GATHER_INFO
2009-11-12Name : The remote host contains a web browser that is affected by several vulnerabil...
File : safari_4_0_4.nasl - Type : ACT_GATHER_INFO
2009-11-12Name : The remote host contains a web browser that is affected by several vulnerabil...
File : macosx_Safari4_0_4.nasl - Type : ACT_GATHER_INFO
2009-11-09Name : The remote host is missing a Mac OS X update that fixes various security issues.
File : macosx_10_6_2.nasl - Type : ACT_GATHER_INFO
2009-11-09Name : The remote host is missing a Mac OS X update that fixes various security issues.
File : macosx_SecUpd2009-006.nasl - Type : ACT_GATHER_INFO
2009-10-06Name : The remote openSUSE host is missing a security update.
File : suse_libxml-6477.nasl - Type : ACT_GATHER_INFO
2009-10-06Name : The remote openSUSE host is missing a security update.
File : suse_libxml2-6405.nasl - Type : ACT_GATHER_INFO
2009-09-24Name : The remote SuSE 9 host is missing a security-related patch.
File : suse9_12469.nasl - Type : ACT_GATHER_INFO
2009-09-24Name : The remote SuSE 9 host is missing a security-related patch.
File : suse9_12504.nasl - Type : ACT_GATHER_INFO
2009-09-24Name : The remote SuSE 11 host is missing one or more security updates.
File : suse_11_libxml2-090807.nasl - Type : ACT_GATHER_INFO
2009-09-24Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_libxml2-6403.nasl - Type : ACT_GATHER_INFO
2009-09-17Name : The remote openSUSE host is missing a security update.
File : suse_11_0_libxml-090908.nasl - Type : ACT_GATHER_INFO
2009-09-17Name : The remote openSUSE host is missing a security update.
File : suse_11_1_libxml-090908.nasl - Type : ACT_GATHER_INFO
2009-08-26Name : The remote host contains a web browser that is affected by multiple vulnerabi...
File : google_chrome_2_0_172_43.nasl - Type : ACT_GATHER_INFO
2009-08-18Name : The remote Fedora host is missing a security update.
File : fedora_2009-8580.nasl - Type : ACT_GATHER_INFO
2009-08-18Name : The remote Fedora host is missing a security update.
File : fedora_2009-8582.nasl - Type : ACT_GATHER_INFO
2009-08-18Name : The remote Fedora host is missing a security update.
File : fedora_2009-8594.nasl - Type : ACT_GATHER_INFO
2009-08-13Name : The remote Mandriva Linux host is missing one or more security updates.
File : mandriva_MDVSA-2009-200.nasl - Type : ACT_GATHER_INFO
2009-08-12Name : The remote openSUSE host is missing a security update.
File : suse_11_0_libxml2-090807.nasl - Type : ACT_GATHER_INFO
2009-08-12Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-815-1.nasl - Type : ACT_GATHER_INFO
2009-08-12Name : The remote Fedora host is missing a security update.
File : fedora_2009-8491.nasl - Type : ACT_GATHER_INFO
2009-08-12Name : The remote openSUSE host is missing a security update.
File : suse_11_1_libxml2-090807.nasl - Type : ACT_GATHER_INFO
2009-08-12Name : The remote Fedora host is missing a security update.
File : fedora_2009-8498.nasl - Type : ACT_GATHER_INFO
2009-08-11Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2009-1206.nasl - Type : ACT_GATHER_INFO
2009-08-11Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2009-1206.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:36:56
  • Multiple Updates