Bug 1388831

Summary: jasper: missing jas_matrix_create() parameter checks (incomplete fix for CVE-2016-8690)
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, bmcclain, cfergeau, dblechte, dmcphers, eedri, erik-fedora, gklein, jialiu, jokerman, jridky, kseifried, lmeyer, lsurette, mgoldboi, michal.skrivanek, mike, mmccomas, rbalakri, rdieter, rh-spice-bugs, rjones, sherold, srevivo, tiwillia, ykaul, ylavi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jasper 1.900.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-30 15:21:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1388873, 1388874, 1388875, 1388876    
Bug Blocks: 1314477    

Description Adam Mariš 2016-10-26 09:30:37 UTC
Null pointer dereference vulnerability in bmp_getdata in bmp_dec.c was found.

Upstream patch:

https://github.com/mdadams/jasper/commit/5d66894d2313e3f3469f19066e149e08ff076698

CVE assignment:

http://seclists.org/oss-sec/2016/q4/213

Comment 1 Adam Mariš 2016-10-26 10:53:06 UTC
Created mingw-jasper tracking bugs for this issue:

Affects: fedora-all [bug 1388874]
Affects: epel-7 [bug 1388876]

Comment 2 Adam Mariš 2016-10-26 10:53:24 UTC
Created jasper tracking bugs for this issue:

Affects: fedora-all [bug 1388873]
Affects: epel-5 [bug 1388875]

Comment 3 Tomas Hoger 2016-11-30 15:21:14 UTC
Both CVEs here - CVE-2016-8884 CVE-2016-8885 - were assigned to the same issue for which CVE-2016-8690 was originally assigned and which was not addressed in the original patch.  I'm going move these additional CVEs to the bug used to track CVE-2016-8690, as it's really a single issue with 3 CVE ids.

*** This bug has been marked as a duplicate of bug 1385499 ***