]> code.ossystems Code Review - openembedded-core.git/commit
ghostscript: CVE-2016-8602, CVE-2017-7975
authorCatalin Enache <catalin.enache@windriver.com>
Mon, 8 May 2017 13:42:59 +0000 (16:42 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Jun 2017 22:29:11 +0000 (23:29 +0100)
commit6040b8735b79397bf49a2154f81e9aab34c15413
treec2b7b2b580dc643d41fa38d6e62183c887b6754e
parentae0e01474623969dc193687d59fb5a65ab4d42bc
ghostscript: CVE-2016-8602, CVE-2017-7975

The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remote
attackers to cause a denial of service (application crash) or possibly execute
arbitrary code via a crafted Postscript document that calls .sethalftone5 with an
empty operand stack.

Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because
of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c
during operations on a crafted JBIG2 file, leading to a denial of service (application
crash) or possibly execution of arbitrary code.

References:
https://nvd.nist.gov/vuln/detail/CVE-2016-8602
https://nvd.nist.gov/vuln/detail/CVE-2017-7975

Upstream patches:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f5c7555c303
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5e57e483298

(From OE-Core rev: 8f919c2df47ca93132f21160d919b6ee2207d9a6)

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ghostscript/ghostscript/CVE-2016-8602.patch [new file with mode: 0644]
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-7975.patch [new file with mode: 0644]
meta/recipes-extended/ghostscript/ghostscript_9.20.bb