Bug 44406

Summary: jbig2dec: Multiple issues (4.1)
Product: UCS Reporter: Arvid Requate <requate>
Component: Security updatesAssignee: UCS maintainers <ucs-maintainers>
Status: CLOSED WONTFIX QA Contact: UCS maintainers <ucs-maintainers>
Severity: normal    
Priority: P5 Flags: requate: Patch_Available+
Version: UCS 4.1   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: Security Issue What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Security
Max CVSS v3 score: 7.8 (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Bug Depends on: 44407    
Bug Blocks:    

Description Arvid Requate univentionstaff 2017-04-19 13:47:32 CEST
Upstream Debian package version 0.13-4~deb7u1 fixes:

* Heap-buffer overflow due to Integer overflow in jbig2_image_new function (CVE-2016-9601)


libjbig2dec0 is maintained because ghostscript and okular depend on it.
Comment 1 Arvid Requate univentionstaff 2017-05-23 19:23:29 CEST
Upstream Debian package version 0.13-4~deb7u2 fixes:

* Artifex jbig2dec 0.13 has a heap-based buffer over-read leading to denial of service (application crash) or disclosure of sensitive information from process memory, because of an integer overflow in the jbig2_decode_symbol_dict function in jbig2_symbol_dict.c in libjbig2dec.a during operation on a crafted .jb2 file. (CVE-2017-7885)

* 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. (CVE-2017-7975)

* Artifex jbig2dec 0.13 allows out-of-bounds writes and reads because of an integer overflow in the jbig2_image_compose function in jbig2_image.c during operations on a crafted .jb2 file, leading to a denial of service (application crash) or disclosure of sensitive information from process memory. (CVE-2017-7976)
Comment 2 Arvid Requate univentionstaff 2017-05-23 19:29:41 CEST
For some reason UCS 4.x ships version 0.11 of this package.
We should also check UCS 3.3-1 in case UCS 4.x actually is affected.
Comment 3 Arvid Requate univentionstaff 2018-04-17 15:56:53 CEST
This issue has been filed against UCS 4.1.

UCS 4.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.