The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of libxml2: out-of-bounds memory reading via xmlBufAttrSerializeTxtContent

Synthesis of the vulnerability 

An attacker can force a read at an invalid address in xmlBufAttrSerializeTxtContent() of libxml2, in order to trigger a denial of service, or to obtain sensitive information.
Vulnerable systems: iOS by Apple, iPhone, Mac OS X, Blue Coat CAS, ProxyAV, ProxyRA, ProxySG par Blue Coat, SGOS by Blue Coat, Debian, VNX Operating Environment, VNX Series, libxml, openSUSE, openSUSE Leap, Solaris, Splunk Enterprise, SLES, Nessus, Ubuntu.
Severity of this threat: 2/4.
Creation date: 04/05/2016.
Références of this weakness: 1989337, 1991909, 1991910, 1991911, 1991913, 1991997, bulletinjul2016, CVE-2016-4483, DLA-503-1, DSA-2019-197, DSA-3593-1, HT206902, HT206903, openSUSE-SU-2016:1594-1, openSUSE-SU-2016:1595-1, SA129, SPL-119440, SPL-121159, SPL-123095, SUSE-SU-2016:1538-1, SUSE-SU-2016:1604-1, TNS-2017-03, USN-2994-1, VIGILANCE-VUL-19514.

Description of the vulnerability 

The xmllint tool of libxml2 has the option "--recover" to try to decode a malformed XML document.

However, the xmlBufAttrSerializeTxtContent() function of the xmlsave.c file tries to read a memory area located outside the expected range, which triggers a fatal error, or leads to the disclosure of a memory fragment.

An attacker can therefore force a read at an invalid address in xmlBufAttrSerializeTxtContent() of libxml2, in order to trigger a denial of service, or to obtain sensitive information.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This cybersecurity threat impacts software or systems such as iOS by Apple, iPhone, Mac OS X, Blue Coat CAS, ProxyAV, ProxyRA, ProxySG par Blue Coat, SGOS by Blue Coat, Debian, VNX Operating Environment, VNX Series, libxml, openSUSE, openSUSE Leap, Solaris, Splunk Enterprise, SLES, Nessus, Ubuntu.

Our Vigil@nce team determined that the severity of this computer threat note is medium.

The trust level is of type confirmed by the editor, with an origin of document.

An attacker with a expert ability can exploit this security threat.

Solutions for this threat 

libxml2: version 2.9.4.
The version 2.9.4 is fixed:
  http://xmlsoft.org/downloads.html

libxml2: workaround for xmlBufAttrSerializeTxtContent.
A workaround is to not use the "--recover" option of xmllint, nor tools saving files with xmlsave.c.

Apple iOS: version 9.3.3.
The version 9.3.3 is fixed:
  http://www.apple.com/support/downloads/

Apple Mac OS X: version 10.11.6.
The version 10.11.6 is fixed:
  http://www.apple.com/support/downloads/

Blue Coat: solution for libxml2.
The solution is indicated in information sources.

Debian 7: new libxml2 packages.
New packages are available:
  Debian 7: libxml2 2.8.0+dfsg1-7+wheezy6

Debian: new libxml2 packages.
New packages are available:
  Debian 8: libxml2 2.9.1+dfsg1-5+deb8u2

Dell EMC VNXe: version MR4 Service Pack 5.
The version MR4 Service Pack 5 is fixed:
  https://www.dell.com/support/

IBM BigFix Compliance Analytics: version 1.9.
The version 1.9 is fixed.

openSUSE 13.2: new libxml2 packages (16/06/2016).
New packages are available:
  openSUSE 13.2: libxml2 2-2.9.4-7.17.1

openSUSE Leap 42.1: new libxml2 packages.
New packages are available:
  openSUSE Leap 42.1: libxml2 2-2.9.1-19.1

Solaris: patch for third party software of July 2016 v2.
A patch is available:
  https://support.oracle.com/rs?type=doc&id=1448883.1

Splunk Enterprise: versions 6.4.2, 6.3.6, 6.2.11, 6.1.11, 6.0.12 and 5.0.16.
Versions 6.4.2, 6.3.6, 6.2.11, 6.1.11, 6.0.12 and 5.0.16 are fixed:
  http://www.splunk.com/en_us/download.html

SUSE LE: new libxml2 packages.
New packages are available:
  SUSE LE 12 SP1: libxml2 2-2.9.1-24.1
  SUSE LE 11 SP4: libxml2 2.7.6-0.44.1
  SUSE LE 11 SP3: libxml2 2.7.6-0.44.1
  SUSE LE 11 SP2: libxml2 2.7.6-0.44.1

Tenable Nessus: version 6.10.
The version 6.10 is fixed.

Ubuntu: new libxml2 packages (07/06/2016).
New packages are available:
  Ubuntu 16.04 LTS: libxml2 2.9.3+dfsg1-1ubuntu0.1
  Ubuntu 15.10: libxml2 2.9.2+zdfsg1-4ubuntu0.4
  Ubuntu 14.04 LTS: libxml2 2.9.1+dfsg1-3ubuntu4.8
  Ubuntu 12.04 LTS: libxml2 2.7.8.dfsg-5.1ubuntu4.15
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides cybersecurity analysis. The Vigil@nce vulnerability database contains several thousand vulnerabilities.