Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-1.9.git;a=commitdiff;h=e4b6ff4b771745e32255edd9d0686ee3e0a7021e

commit e4b6ff4b771745e32255edd9d0686ee3e0a7021e
Author: kikadf <[email protected]>
Date:   Tue Oct 28 08:45:44 2014 +0100

file-5.14-2arcturus5-x86_64

* Fix CVE-2014-3710

diff --git a/source/base/file/CVE-2014-3710.patch 
b/source/base/file/CVE-2014-3710.patch
new file mode 100644
index 0000000..0fcf703
--- /dev/null
+++ b/source/base/file/CVE-2014-3710.patch
@@ -0,0 +1,28 @@
+From 39c7ac1106be844a5296d3eb5971946cc09ffda0 Mon Sep 17 00:00:00 2001
+From: Christos Zoulas <[email protected]>
+Date: Fri, 17 Oct 2014 15:49:00 +0000
+Subject: [PATCH] Fix note bounds reading, Francisco Alonso / Red Hat
+
+---
+ ChangeLog     | 4 ++++
+ src/readelf.c | 9 ++++++++-
+ 2 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/src/readelf.c b/src/readelf.c
+index 08f81f5..9ebdebd 100644
+--- a/src/readelf.c
++++ b/src/readelf.c
+@@ -477,6 +477,13 @@ donote(struct magic_set *ms, void *vbuf, size_t offset, 
size_t size,
+       uint32_t namesz, descsz;
+       unsigned char *nbuf = CAST(unsigned char *, vbuf);
+
++      if (xnh_sizeof + offset > size) {
++              /*
++               * We're out of note headers.
++               */
++              return xnh_sizeof + offset;
++      }
++
+       (void)memcpy(xnh_addr, &nbuf[offset], xnh_sizeof);
+       offset += xnh_sizeof;
+
diff --git a/source/base/file/FrugalBuild b/source/base/file/FrugalBuild
index 509e9dc..eea5585 100644
--- a/source/base/file/FrugalBuild
+++ b/source/base/file/FrugalBuild
@@ -6,7 +6,7 @@ options+=('asneeded')

pkgname=file
pkgver=5.14
-pkgrel=2arcturus4
+pkgrel=2arcturus5
pkgdesc="File type identification utility"
url="http://www.darwinsys.com/file/";
depends=('glibc>=2.8-3' 'zlib>=1.2.3-6')
@@ -20,7 +20,7 @@ sha1sums=('064c8f17a5f7ae1e336a9285131e046d3b2d04d7')
source=(${source[@]} CVE-2014-1943.patch CVE-2014-2270.patch CVE-2013-7345.patch
CVE-2014-0207.patch CVE-2014-3478.patch CVE-2014-3479.patch
CVE-2014-3480.patch CVE-2014-3487.patch CVE-2014-3538.patch
-                     CVE-2014-3587.patch)
+                     CVE-2014-3587.patch CVE-2014-3710.patch)
sha1sums=(${sha1sums[@]} 'f8a3696fde7435dd431e4ac75cfc8629cb34725a' \
'6737050b7aff65c1dc1ff526be30e0d75a3cfaa6' \
'140369d478fba2ac770858dcc49fb6e06211026e' \
@@ -30,7 +30,8 @@ sha1sums=(${sha1sums[@]} 
'f8a3696fde7435dd431e4ac75cfc8629cb34725a' \
'6bed490442e7c12d2e1f0dc79d744395aed5f0e5' \
'c03c4373c91fba10083837acec4573a489966ebc' \
'a71644bb937cd3e944e02f31e4c8b42f66b4a0b8' \
-                         '544580fd7be83615bca02d3b6c4a7c541f676885')
+                         '544580fd7be83615bca02d3b6c4a7c541f676885' \
+                         'cfc9b61b71ef3167feeb91ae70a088766f0de001')
# ***********

_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to