Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1443940 - (CVE-2017-7975) CVE-2017-7975 jbig2dec: Integer overflow in jbig2_build_huffman_table allows OOB write
CVE-2017-7975 jbig2dec: Integer overflow in jbig2_build_huffman_table allows ...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170327,repor...
: Security
Depends On: 1443898 1443899 1443933 1443934
Blocks: 1443943
  Show dependency treegraph
 
Reported: 2017-04-20 06:00 EDT by Adam Mariš
Modified: 2017-07-19 12:08 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-19 12:08:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-04-20 06:00:35 EDT
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.

Upstream bug:

https://bugs.ghostscript.com/show_bug.cgi?id=697693
Comment 1 Adam Mariš 2017-04-20 06:00:50 EDT
Acknowledgments:

Name: Jiaqi Peng (Chinese Academy of Sciences)
Comment 2 Andrej Nemec 2017-04-20 11:09:39 EDT
Created jbig2dec tracking bugs for this issue:

Affects: epel-all [bug 1443899]
Comment 4 Cedric Buissart 2017-07-10 05:57:04 EDT
Note: in 64 bits environment, OOB write concerns only the 0xffffffffxxxxxxxx range. This range is at best read-only, thus would not lead to a possible arbitrary code execution.
Comment 6 Cedric Buissart 2017-07-19 04:42:35 EDT
Reducing impact to low based on comment 4.
Comment 9 Cedric Buissart 2017-07-19 12:05:50 EDT
The vulnerability requires user defined Huffman table for the vulnerability to be triggered. ghostscript versions prior to 9.00 are not be affected by this vulnerability.
As a result, 
* RHEL-7 is shipped with only the 64 bit version of ghostscript, and is only vulnerable to DoS
* RHEL-5 & 6 are not affected.

Note You need to log in before you can comment on or make changes to this bug.