Bug 1463993 (CVE-2017-9782)

Summary: CVE-2017-9782 jasper: cdef.ents[] heap-based buffer over-read in jp2_decode()
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bmcclain, cfergeau, dblechte, eedri, erik-fedora, jridky, lsurette, mgoldboi, michal.skrivanek, mike, rh-spice-bugs, rjones, srevivo, ykaul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jasper 2.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-12 00:47:12 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: 1434464, 1434465, 1434467, 1463997, 1463998, 1463999    
Bug Blocks: 1449402    

Description Andrej Nemec 2017-06-22 08:54:37 UTC
I was fount that JasPer allows attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted image, related to the jp2_decode function in libjasper/jp2/jp2_dec.c.

Upstream issue:

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

Comment 1 Andrej Nemec 2017-06-22 08:59:29 UTC
Created jasper tracking bugs for this issue:

Affects: fedora-all [bug 1463998]


Created mingw-jasper tracking bugs for this issue:

Affects: epel-7 [bug 1463997]
Affects: fedora-all [bug 1463999]

Comment 3 Tomas Hoger 2017-07-04 13:25:23 UTC
Further issue analysis details noted in the upstream bug report:

https://github.com/mdadams/jasper/issues/140#issuecomment-312874384

Comment 5 Tomas Hoger 2020-12-11 22:03:27 UTC
Upstream commit:

https://github.com/jasper-software/jasper/commit/839b1bcf0450ff036c28e8db40a7abf886e02891

Fixed upstream in jasper 2.0.17.

Comment 6 Product Security DevOps Team 2020-12-12 00:47:12 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-9782