[3.2] libxml2: Several vulnerabilities (CVE-2015-8241, CVE-2015-8317, CVE-2016-2073)
CVE-2015-8241: Buffer overread with XML parser in xmlNextChar
The xmlNextChar function in libxml2 2.9.2 does not properly check the
state, which allows context-dependent attackers to cause a denial of
service (heap-based buffer over-read and application crash) or obtain
sensitive information via crafted XML data.
References:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8241
https://bugzilla.redhat.com/show\_bug.cgi?id=1281936
Patch:
https://git.gnome.org/browse/libxml2/commit/?id=ab2b9a93ff19cedde7befbf2fcc48c6e352b6cbe
CVE-2015-8317: Out-of-bounds heap read when parsing file with unfinished xml declaration
The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows
context-dependent attackers to obtain sensitive
information via an (1) unterminated encoding value or (2) incomplete XML
declaration in XML data, which triggers an out-of-bounds heap read.
References:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8317
https://bugzilla.redhat.com/show\_bug.cgi?id=CVE-2015-8317
Patches:
https://git.gnome.org/browse/libxml2/commit/?id=9aa37588ee78a06ca1379a9d9356eab16686099c
https://git.gnome.org/browse/libxml2/commit/?id=709a952110e98621c9b78c4f26462a9d8333102e
CVE-2016-2073: out-of-bounds read in htmlParseNameComplex()
libxml2 is vulnerable to a heap-based buffer overflow, caused by an
out-of-bounds read in the htmlParseNameComplex() function.
By persuading a victim to open a specially crafted XML file, a remote
attacker could overflow a buffer and execute arbitrary code on the
system or cause the application to crash.
Currently there is no known patch available for this issue.
References:
http://www.openwall.com/lists/oss-security/2016/01/25/6
(from redmine: issue id 5442, created on 2016-04-19, closed on 2016-06-15)
- Relations:
- parent #5439 (closed)
- Changesets:
- Revision e22db122 on 2016-06-14T10:16:19Z:
main/libxml2: security fixes (CVE-2015-8241, CVE-2015-8317, CVE-2016-[1839,2073]). Fixes #5442