Bug 709747 (CVE-2011-1944) - CVE-2011-1944 libxml, libxml2: Heap-based buffer overflow by adding new namespace node to an existing nodeset or merging nodesets
Summary: CVE-2011-1944 libxml, libxml2: Heap-based buffer overflow by adding new names...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-1944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 709750 709751 710393 710394 710395 710396 710397 771906 771907 820846 833934 891477 891478
Blocks: 711277 734217 734221 771915 891480
TreeView+ depends on / blocked
 
Reported: 2011-06-01 14:46 UTC by Jan Lieskovsky
Modified: 2021-02-24 15:21 UTC (History)
4 users (show)

Fixed In Version: libxml2 2.8.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-18 20:11:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1749 0 normal SHIPPED_LIVE Low: libxml2 security and bug fix update 2011-12-06 01:01:47 UTC
Red Hat Product Errata RHSA-2012:0017 0 normal SHIPPED_LIVE Important: libxml2 security update 2012-01-11 22:45:39 UTC
Red Hat Product Errata RHSA-2013:0217 0 normal SHIPPED_LIVE Important: mingw32-libxml2 security update 2013-02-01 00:25:14 UTC

Description Jan Lieskovsky 2011-06-01 14:46:56 UTC
An integer overflow, leading to heap-based buffer overflow was found
in the way libxml, XML files manipulation library, processed certain
XPath expressions. A remote attacker could provide a specially-crafted
XML file, which once opened in an application linked against libxml
would cause that application to crash, or, potentially, execute arbitrary
code with the privileges of the user running the application.

References:
[1] http://scarybeastsecurity.blogspot.com/2011/05/libxml-vulnerability-and-interesting.html
[2] http://www.openwall.com/lists/oss-security/2011/05/31/5
[3] http://www.openwall.com/lists/oss-security/2011/05/31/8

Upstream patch:
[4] http://git.gnome.org/browse/libxml2/commit/?id=d7958b21e7f8c447a26bb2436f08402b2c308be4

Comment 1 Jan Lieskovsky 2011-06-01 14:49:28 UTC
This issue affects the versions of the libxml2 package, as shipped
with Red Hat Enterprise Linux 4, 5, and 6.

--

This issue affects the versions of the libxml and libxml2 package,
as shipped with Fedora release of 13, 14 and 15. Please schedule
an update.

Comment 2 Jan Lieskovsky 2011-06-01 14:52:21 UTC
Created libxml2 tracking bugs for this issue

Affects: fedora-all [bug 709750]

Comment 3 Jan Lieskovsky 2011-06-01 14:52:24 UTC
Created libxml tracking bugs for this issue

Affects: fedora-all [bug 709751]

Comment 4 Jan Lieskovsky 2011-06-01 14:53:41 UTC
(In reply to comment #3)
> Created libxml tracking bugs for this issue
> 
> Affects: fedora-all [bug 709751]

Note: In libxml F-* package, the relevant affected function is (a/xpath.c):

386 /**
387  * xmlXPathNodeSetAdd:
388  * @cur:  the initial node set
389  * @val:  a new xmlNodePtr
390  *
391  * add a new xmlNodePtr ot an existing NodeSet
392  */
393 void
394 xmlXPathNodeSetAdd(xmlNodeSetPtr cur, xmlNodePtr val) {

The rest functions from the patch are not present there.

Comment 7 Huzaifa S. Sidhpurwala 2011-06-03 10:11:31 UTC
Created libxml2 tracking bugs for this issue

Affects: fedora-all [bug 709750]

Comment 8 Huzaifa S. Sidhpurwala 2011-06-03 10:11:34 UTC
Created libxml tracking bugs for this issue

Affects: fedora-all [bug 709751]

Comment 13 errata-xmlrpc 2011-12-06 18:55:24 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1749 https://rhn.redhat.com/errata/RHSA-2011-1749.html

Comment 16 errata-xmlrpc 2012-01-11 17:49:48 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0017 https://rhn.redhat.com/errata/RHSA-2012-0017.html

Comment 17 Vincent Danen 2012-01-11 19:24:56 UTC
Statement:

(none)

Comment 22 errata-xmlrpc 2013-01-31 19:32:48 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0217 https://rhn.redhat.com/errata/RHSA-2013-0217.html


Note You need to log in before you can comment on or make changes to this bug.