Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwnext.git;a=commitdiff;h=ee2e077db59d0cb68c173c5ca90dafbadc4f0c64
commit ee2e077db59d0cb68c173c5ca90dafbadc4f0c64 Author: crazy <[email protected]> Date: Sun Oct 4 09:03:21 2015 +0200 elfutils-0.163-1-x86_64 * forgot to remove he patch diff --git a/source/base/elfutils/CVE-2014-9447.patch b/source/base/elfutils/CVE-2014-9447.patch deleted file mode 100644 index 60cf763..0000000 --- a/source/base/elfutils/CVE-2014-9447.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 147018e729e7c22eeabf15b82d26e4bf68a0d18e Mon Sep 17 00:00:00 2001 -From: Alexander Cherepanov <[email protected]> -Date: Sun, 28 Dec 2014 19:57:19 +0300 -Subject: libelf: Fix dir traversal vuln in ar extraction. - -read_long_names terminates names at the first '/' found but then skips -one character without checking (it's supposed to be '\n'). Hence the -next name could start with any character including '/'. This leads to -a directory traversal vulnerability at the time the contents of the -archive is extracted. - -The danger is mitigated by the fact that only one '/' is possible in a -resulting filename and only in the leading position. Hence only files -in the root directory can be written via this vuln and only when ar is -executed as root. - -The fix for the vuln is to not skip any characters while looking -for '/'. - -Signed-off-by: Alexander Cherepanov <[email protected]> - -Origin: upstream, https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=147018e729e7c22eeabf15b82d26e4bf68a0d18e - -Index: elfutils-0.160/libelf/elf_begin.c -=================================================================== ---- elfutils-0.160.orig/libelf/elf_begin.c 2015-01-16 15:25:43.362757594 -0600 -+++ elfutils-0.160/libelf/elf_begin.c 2015-01-16 15:25:43.354757632 -0600 -@@ -736,10 +736,7 @@ read_long_names (Elf *elf) - break; - - /* NUL-terminate the string. */ -- *runp = '\0'; -- -- /* Skip the NUL byte and the \012. */ -- runp += 2; -+ *runp++ = '\0'; - - /* A sanity check. Somebody might have generated invalid - archive. */ _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
