Skip to contentSkip to conversation

libxml2: fix CVE-2015-7942 and CVE-2015-8035

PATCH In review Armin Kuster 2 participants 3 messages Nov 11, 2015 – Nov 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxml2: fix CVE-2015-7942 and CVE-2015-8035

From: Armin Kuster <[email protected]>

CVE-2015-7942 libxml2: heap-based buffer overflow in xmlParseConditionalSections() CVE-2015-8035 libxml2: DoS when parsing specially crafted XML document if XZ support is enabled

[YOCTO #8641]

---
 meta/recipes-core/libxml/libxml2.inc               |  2 +
 .../libxml/libxml2/CVE-2015-7942.patch             | 55 ++++++++++++++++++++++
 .../libxml/libxml2/CVE-2015-8035.patch             | 41 ++++++++++++++++
 3 files changed, 98 insertions(+)
 create mode 100644 meta/recipes-core/libxml/libxml2/CVE-2015-7942.patch
 create mode 100644 meta/recipes-core/libxml/libxml2/CVE-2015-8035.patch
meta/recipes-core/libxml/libxml2.inc +2 -0
index 1c3c37d..6ada401 100644
@@ -21,6 +21,8 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \
            file://libxml-m4-use-pkgconfig.patch \
            file://configure.ac-fix-cross-compiling-warning.patch \
            file://0001-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch \
+           file://CVE-2015-7942.patch \
+           file://CVE-2015-8035.patch \
           "
 
 BINCONFIG = "${bindir}/xml2-config"
meta/recipes-core/libxml/libxml2/CVE-2015-7942.patch new file +55 -0

55 lines not on this page · raw message

meta/recipes-core/libxml/libxml2/CVE-2015-8035.patch new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
2.3.5
#1 lore raw
Quoted 2 lines · Armin Kuster

+Upstream Status: Backport

This should be Upstream-Status, to get this merged sooner rather than later I've fixed it when merging to my staging branch.

Ross

author
#2 lore raw
Quoted 8 lines · Ross
Quoted 2 lines · Armin Kuster

+Upstream Status: Backport

This should be Upstream-Status, to get this merged sooner rather than later I've fixed it when merging to my staging branch.

thanks.

- armin

Quoted 2 lines

Ross