Debian Security Advisory

DLA-266-1 libxml2 -- LTS security update

Date Reported:
03 Jul 2015
Affected Packages:
libxml2
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2015-1819.
More information:

This upload to Debian squeeze-lts fixes three issues found in the libxml2 package.

(1) CVE-2015-1819 / #782782

Florian Weimer from Red Hat reported an issue against libxml2, where a parser which uses libxml2 chokes on a crafted XML document, allocating gigabytes of data. This is a fine line issue between API misuse and a bug in libxml2. This issue got addressed in libxml2 upstream and the patch has been backported to libxml2 in squeeze-lts.

(2) #782985

Jun Kokatsu reported an out-of-bounds memory access in libxml2. By entering an unclosed html comment the libxml2 parser didn't stop parsing at the end of the buffer, causing random memory to be included in the parsed comment that was returned to the evoking application.

In the Shopify application (where this issue was originally discovered), this caused ruby objects from previous http requests to be disclosed in the rendered page.

(3) #783010

Michal Zalewski reported another out-of-bound reads issue in libxml2 that did not cause any crashes but could be detected under ASAN and Valgrind.