Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1396963 - (CVE-2016-9389) CVE-2016-9389 jasper: reachable assertions caused by insufficient component domains checks in ICT/RCT in JPC codec
CVE-2016-9389 jasper: reachable assertions caused by insufficient component d...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20161024,reported=2...
: Reopened, Security
Depends On: 1396986 1396987 1396988 1396989 1439171 1439172 1439173 1439174
Blocks: 1314477
  Show dependency treegraph
 
Reported: 2016-11-21 04:54 EST by Adam Mariš
Modified: 2017-05-09 17:42 EDT (History)
28 users (show)

See Also:
Fixed In Version: jasper 1.900.14
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-09 17:42:14 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1208 normal SHIPPED_LIVE Important: jasper security update 2017-05-09 17:13:57 EDT

  None (edit)
Description Adam Mariš 2016-11-21 04:54:36 EST
An assertion test was used when ensuring the component domains are the same for the ICT/RCT in the JPC codec.

Upstream patch:

https://github.com/mdadams/jasper/commit/dee11ec440d7908d1daf69f40a3324b27cf213ba

CVE assignment:

http://seclists.org/oss-sec/2016/q4/441
Comment 1 Adam Mariš 2016-11-21 05:32:18 EST
Created mingw-jasper tracking bugs for this issue:

Affects: fedora-all [bug 1396987]
Affects: epel-7 [bug 1396989]
Comment 2 Adam Mariš 2016-11-21 05:32:38 EST
Created jasper tracking bugs for this issue:

Affects: fedora-all [bug 1396986]
Affects: epel-5 [bug 1396988]
Comment 3 Tomas Hoger 2017-03-29 16:10:13 EDT
Original reporter's advisory:

https://blogs.gentoo.org/ago/2016/11/16/jasper-multiple-assertion-failure/

Relevant information from the advisory:

Affected version: 1.900.13

Output/failure:
imginfo: /tmp/portage/media-libs/jasper-1.900.13/work/jasper-1.900.13/src/libjasper/jpc/jpc_mct.c:146: void jpc_irct(jas_matrix_t *, jas_matrix_t *, jas_matrix_t *): Assertion `((c1)->numrows_) == numrows && ((c1)->numcols_) == numcols && ((c2)->numrows_) == numrows && ((c2)->numcols_) == numcols’ failed.

Commit fix:
https://github.com/mdadams/jasper/commit/dee11ec440d7908d1daf69f40a3324b27cf213ba

Fixed version: 1.900.14

Testcase:
https://github.com/asarubbo/poc/blob/master/00006-jasper-assert-jpc_irct

CVE: CVE-2016-9389


Upstream bug report:

https://github.com/mdadams/jasper/issues/52
Comment 4 Tomas Hoger 2017-03-29 16:13:24 EDT
Another upstream report for different symptoms of the same problem:

https://github.com/mdadams/jasper/issues/55

Reproducer:

https://github.com/asarubbo/poc/blob/master/00009-jasper-assert-jpc_iict
Comment 5 Tomas Hoger 2017-03-29 16:16:07 EDT
Impact of this problem is limited to unexpected application termination.  There is currently no plan to backport the fix to already released Red Hat Enterprise Linux versions.
Comment 8 Tomas Hoger 2017-03-31 16:52:18 EDT
Re-considering inclusion for easier future testing.
Comment 9 errata-xmlrpc 2017-05-09 13:19:12 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2017:1208 https://access.redhat.com/errata/RHSA-2017:1208

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