diff options
author | Armin Kuster <akuster@mvista.com> | 2016-02-01 09:44:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 22:55:23 +0000 |
commit | d57aaf7a39e437d421a6b5cb93690d8c6f67a3d4 (patch) | |
tree | a0524b4606ae6c8205d51c40998355872a5ddceb | |
parent | 941874ae293bbc2f8e9bdd4f38fa88fbcaf0fbc4 (diff) | |
download | poky-d57aaf7a39e437d421a6b5cb93690d8c6f67a3d4.tar.gz |
foomatic-filters: Security fix CVE-2015-8560
CVE-2015-8560 cups-filters: foomatic-rip did not consider semicolon as illegal shell escape character
(From OE-Core rev: 307056ce062bf4063f6effeb4c891c82c949c053)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch | 23 | ||||
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb | 3 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch new file mode 100644 index 0000000000..dc973c4592 --- /dev/null +++ b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | |||
4 | http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7419 | ||
5 | |||
6 | Hand applied change to util.c. Fix was for cups-filters but also applied to foomatic-filters. | ||
7 | |||
8 | CVE: CVE-2015-8560 | ||
9 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
10 | |||
11 | Index: util.c | ||
12 | =================================================================== | ||
13 | --- a/util.c | ||
14 | +++ b/util.c | ||
15 | @@ -31,7 +31,7 @@ | ||
16 | #include <assert.h> | ||
17 | |||
18 | |||
19 | -const char* shellescapes = "|<>&!$\'\"#*?()[]{}"; | ||
20 | +const char* shellescapes = "|;<>&!$\'\"#*?()[]{}"; | ||
21 | |||
22 | const char * temp_dir() | ||
23 | { | ||
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 790c98138b..7d0d717abb 100644 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb | |||
@@ -17,6 +17,9 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca | |||
17 | 17 | ||
18 | SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" | 18 | SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" |
19 | 19 | ||
20 | SRC_URI += "file://CVE-2015-8560.patch \ | ||
21 | " | ||
22 | |||
20 | SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896" | 23 | SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896" |
21 | SRC_URI[sha256sum] = "a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3" | 24 | SRC_URI[sha256sum] = "a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3" |
22 | 25 | ||