From 11b217d60bbe6643936214431030f6448cad2dba Mon Sep 17 00:00:00 2001 From: Sona Sarmadi Date: Mon, 16 Jan 2017 07:30:00 +0100 Subject: expat: CVE-2012-6702, CVE-2016-5300 References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5300 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6702 http://www.openwall.com/lists/oss-security/2016/06/04/5 Reference to upstream fix: https://bugzilla.redhat.com/attachment.cgi?id=1165210 Squashed backport against vanilla Expat 2.1.1, addressing: * CVE-2012-6702 -- unanticipated internal calls to srand * CVE-2016-5300 -- use of too little entropy (From OE-Core rev: c9a2e2f33e8b473f06a3941dab9b4ecccd111a23) Signed-off-by: Sona Sarmadi Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- meta/recipes-core/expat/expat_2.1.0.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-core/expat/expat_2.1.0.bb') diff --git a/meta/recipes-core/expat/expat_2.1.0.bb b/meta/recipes-core/expat/expat_2.1.0.bb index b958742edc..f81486485d 100644 --- a/meta/recipes-core/expat/expat_2.1.0.bb +++ b/meta/recipes-core/expat/expat_2.1.0.bb @@ -1,5 +1,9 @@ require expat.inc + +FILESEXTRAPATHS_prepend := "${THISDIR}/expat-2.1.0:" LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874" +SRC_URI += "file://CVE-2016-5300_CVE-2012-6702.patch \ + " SRC_URI[md5sum] = "dd7dab7a5fea97d2a6a43f511449b7cd" SRC_URI[sha256sum] = "823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86" -- cgit v1.2.3-54-g00ecf