Bug 724906 - (CVE-2011-0216) CVE-2011-0216 libxml2: Off-by-one error leading to heap-based buffer overflow in encoding
CVE-2011-0216 libxml2: Off-by-one error leading to heap-based buffer overflow...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20110720,reported=2...
: Reopened, Security
Depends On: 710397 755813 755814 771904 771906 771907 820846 833934 891477 891478
Blocks: 724912 734217 771915 891480
  Show dependency treegraph
 
Reported: 2011-07-22 05:34 EDT by Jan Lieskovsky
Modified: 2017-09-18 16:43 EDT (History)
9 users (show)

See Also:
Fixed In Version: libxml2 2.8.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-04-03 15:51:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2011-07-22 05:34:21 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-0216 to
the following vulnerability:

Off-by-one error in libxml in Apple Safari before 5.0.6 allows remote attackers to execute arbitrary code or cause a denial of service (heap-based buffer overflow and application crash) via a crafted web site.

References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0216
[2] http://support.apple.com/kb/HT4808
[3] http://lists.apple.com/archives/security-announce/2011//Jul/msg00002.html
Comment 1 Jan Lieskovsky 2011-07-22 05:37:22 EDT
Unfortunately right now we don't have further information about this flaw, than it is listed above. Thus not sure, if this flaw might be applicable to libxml / libxml2 / mingw32-libxml2 package versions, as shipped across different Red Hat Enterprise Linux and Fedora products.

We have contacted Apple Security Team to provide further details about this issue and once they are provided, this Red Hat Bugzilla issue tracking system entry will be updated accordingly.
Comment 5 Paul Howarth 2011-08-04 02:30:03 EDT
What about libxml? Are there more details of this vulnerability posted somewhere?
Comment 18 Kai Tietz 2011-08-23 06:28:32 EDT
As far as I understood is this CVE not affecting our libxml2 version.  Are any more details for this?  Or is this CVE something to close?

Regards,
Kai
Comment 19 Paul Howarth 2011-08-23 08:12:59 EDT
(In reply to comment #18)
> As far as I understood is this CVE not affecting our libxml2 version.  Are any
> more details for this?  Or is this CVE something to close?

According to Comment #4 it doesn't affect libxml2. However, we still don't know yet if it affects libxml.
Comment 23 Paul Howarth 2011-11-16 13:51:33 EST
(In reply to comment #21)
> Upstream commit:
> http://git.gnome.org/browse/libxml2/commit/?id=69f04562f75212bfcabecd190ea8b06ace28ece2

I don't see any code like that in libxml's encoding.c so I guess that's not vulnerable?
Comment 24 Daniel Veillard 2011-11-18 03:34:37 EST
In what version of encoding.c did you look ? Because that bug has
been around forever ... if you mean libxml as libxml version1, then yes
it's likely to not have that code, it's more than 10 years old, and I
don't think the support for iconv was plugged yet at the time of renaming
to libxml2.
But any recent version of libxml (i.e. libxml2) is affected.

Daniel
Comment 25 Paul Howarth 2011-11-18 04:43:49 EST
(In reply to comment #24)
> In what version of encoding.c did you look ? Because that bug has
> been around forever ... if you mean libxml as libxml version1, then yes
> it's likely to not have that code, it's more than 10 years old, and I
> don't think the support for iconv was plugged yet at the time of renaming
> to libxml2.

Yes, I did mean libxml as libxml version1; it's still in Fedora at the moment.
Comment 26 Daniel Veillard 2011-11-18 09:05:22 EST
urgh that should have been deprecated for ages ...

Daniel
Comment 30 Huzaifa S. Sidhpurwala 2011-11-22 00:08:40 EST
We have recently discovered new facts about this issue. They suggest that Red Hat Enterprise Linux 4, 5 and 6. As well as Fedora release 14, 15 and 16 are affected by this flaw.
Comment 32 Huzaifa S. Sidhpurwala 2011-11-22 00:59:50 EST
This issue affects the version of libxml2 as shipped with Fedora release 14, 15 and 16.

This issue affects the version of mingw32-libxml2 as shipped with Fedora release 14, 15 and 16.
Comment 33 Huzaifa S. Sidhpurwala 2011-11-22 01:01:05 EST
Created libxml2 tracking bugs for this issue

Affects: fedora-all [bug 755813]
Comment 34 Huzaifa S. Sidhpurwala 2011-11-22 01:01:10 EST
Created mingw32-libxml2 tracking bugs for this issue

Affects: fedora-all [bug 755814]
Comment 35 errata-xmlrpc 2011-12-06 13:55:31 EST
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 46 errata-xmlrpc 2012-01-11 12:49:53 EST
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 47 errata-xmlrpc 2012-01-11 12:50:20 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2012:0016 https://rhn.redhat.com/errata/RHSA-2012-0016.html
Comment 50 errata-xmlrpc 2013-01-31 14:32:54 EST
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
Comment 51 Vincent Danen 2013-04-03 15:51:18 EDT
Statement:

(none)

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