Rapid7 Vulnerability & Exploit Database

RHSA-2012:0016: libxml2 security update

Back to Search

RHSA-2012:0016: libxml2 security update

Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:C)
Published
07/21/2011
Created
07/25/2018
Added
01/26/2012
Modified
07/04/2017

Description

The libxml2 library is a development toolbox providing the implementationof various XML standards. One of those standards is the XML Path Language(XPath), which is a language for addressing parts of an XML document.A heap-based buffer overflow flaw was found in the way libxml2 decodedentity references with long names. A remote attacker could provide aspecially-crafted XML file that, when opened in an application linkedagainst libxml2, would cause the application to crash or, potentially,execute arbitrary code with the privileges of the user running theapplication. (CVE-2011-3919)An off-by-one error, leading to a heap-based buffer overflow, was found inthe way libxml2 parsed certain XML files. A remote attacker could provide aspecially-crafted XML file that, when opened in an application linkedagainst libxml2, would cause the application to crash or, potentially,execute arbitrary code with the privileges of the user running theapplication. (CVE-2011-0216)A flaw was found in the way libxml2 parsed certain XPath expressions. If anattacker were able to supply a specially-crafted XML file to an applicationusing libxml2, as well as an XPath expression for that application to runagainst the crafted file, it could cause the application to crash.(CVE-2011-2834)Note: Red Hat does not ship any applications that use libxml2 in a way thatwould allow the CVE-2011-2834 flaw to be exploited; however, third-partyapplications may allow XPath expressions to be passed which could triggerthis flaw.An out-of-bounds memory read flaw was found in libxml2. A remote attackercould provide a specially-crafted XML file that, when opened in anapplication linked against libxml2, would cause the application to crash.(CVE-2011-3905)All users of libxml2 are advised to upgrade to these updated packages,which contain backported patches to correct these issues. The desktop mustbe restarted (log out, then log back in) for this update to take effect.

Solution(s)

  • redhat-upgrade-libxml2
  • redhat-upgrade-libxml2-devel
  • redhat-upgrade-libxml2-python

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;