Bug 8641

Summary: libxml2: CVE-2015-8035 & CVE-2015-7942
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Sona Sarmadi <sona.sarmadi>
Component: coreAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.7.4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Sona Sarmadi 2015-11-04 13:52:49 UTC
CVE-2015-7942
A heap-based buffer overflow flaw was found in the way libxml2 parsed certain crafted XML input. A remote attacker could provide a specially-crafted XML file that, when opened in an application linked against libxml2, would cause the application to crash.

Upstream patch:
https://git.gnome.org/browse/libxml2/commit/?id=9b8512337d14c8ddf662fcb98b0135f225a1c489

Upstream bug:
https://bugzilla.gnome.org/show_bug.cgi?id=756456

CVE assignment:
http://seclists.org/oss-sec/2015/q4/130

Patch send to dizzy:
http://patchwork.openembedded.org/patch/106697/

==============================================
CVE-2015-8035 
DoS when parsing specially crafted XML document if XZ support is enabled

Upstream fix:
https://git.gnome.org/browse/libxml2/commit/?id=f0709e3ca8f8947f2d91ed34e92e38a4c23eae63
Comment 1 Ross Burton 2015-11-04 13:54:04 UTC
Does this impact just dizzy, or also newer releases?
Comment 2 Sona Sarmadi 2015-11-04 14:41:26 UTC
CVE-2015-7942
Affected versions:
master: libxml2_2.9.2 <<< Not affected
fido: libxml2_2.9.2 <<< Not affected 
dizzy: libxml2_2.9.1 <<< Affected

Reference: https://bugzilla.gnome.org/show_bug.cgi?id=756456
Comment 3 Sona Sarmadi 2015-11-04 14:45:09 UTC
Affected versions (all versions seems to be affected):
master: libxml2_2.9.2 <<< Affected
fido: libxml2_2.9.2 <<< Affected 
dizzy: libxml2_2.9.1 <<< Affected

Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-8035
Comment 4 Armin Kuster 2015-11-11 22:22:39 UTC
Patch submitted

http://patches.openembedded.org/patch/107379/