diff options
author | Armin Kuster <akuster@mvista.com> | 2016-07-31 08:30:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-01 12:11:09 +0100 |
commit | 986f7fbe37a48d050611f08f7160ed96755ac3dc (patch) | |
tree | 5881b8c0b7819dd6cf84de12501c8814eef89719 /meta/recipes-extended/foomatic | |
parent | 94d89ab75efbac4486c581a53cbd90e843c3fde4 (diff) | |
download | openembedded-core-986f7fbe37a48d050611f08f7160ed96755ac3dc.tar.gz openembedded-core-986f7fbe37a48d050611f08f7160ed96755ac3dc.tar.bz2 openembedded-core-986f7fbe37a48d050611f08f7160ed96755ac3dc.zip |
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
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/foomatic')
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch | 23 | ||||
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch new file mode 100644 index 0000000000..aaedc88aa3 --- /dev/null +++ b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch @@ -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() + { diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb index 497d2bf357..3f439e7130 100644 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb @@ -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" |