mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
foomatic-filters: Security fixes CVE-2015-8327
CVE-2015-8327 cups-filters: foomatic-rip did not consider the back tick as an illegal shell escape character this time with the recipe changes. (From OE-Core master rev: 62d6876033476592a8ca35f4e563c996120a687b) (From OE-Core rev: 9ca5534b1d8ce71eb150964e11ce79ba79ced7e4) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9a6a7150d9
commit
83af960b7d
|
@ -0,0 +1,23 @@
|
|||
Upstream-Status: Backport
|
||||
|
||||
|
||||
http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7406
|
||||
|
||||
Hand applied change to util.c. Fix was for cups-filters but also applied to foomatic-filters.
|
||||
|
||||
CVE: CVE-2015-8327
|
||||
Signed-off-by: Armin Kuster <akuster@mvista.com>
|
||||
|
||||
Index: util.c
|
||||
===================================================================
|
||||
--- a/util.c
|
||||
+++ b/util.c
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
-const char* shellescapes = "|;<>&!$\'\"#*?()[]{}";
|
||||
+const char* shellescapes = "|;<>&!$\'\"`#*?()[]{}";
|
||||
|
||||
const char * temp_dir()
|
||||
{
|
|
@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca
|
|||
SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz"
|
||||
|
||||
SRC_URI += "file://CVE-2015-8560.patch \
|
||||
file://CVE-2015-8327.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896"
|
||||
|
|
Loading…
Reference in New Issue
Block a user