Bug 1488964 (CVE-2017-13751)

Summary: CVE-2017-13751 jasper: reachable assertion in calcstepsizes()
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bmcclain, cfergeau, dblechte, eedri, erik-fedora, jridky, lsurette, mgoldboi, michal.skrivanek, mike, rdieter, 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-28 21:47:26 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, 1485283, 1910586    
Bug Blocks: 1449402    

Description Andrej Nemec 2017-09-06 14:00:25 UTC
There is a reachable assertion abort in the function calcstepsizes() in jpc/jpc_dec.c in JasPer 2.0.12 that will lead to a denial of service attack.

Product bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1485283

Comment 1 Andrej Nemec 2017-09-06 14:07:08 UTC
Created jasper tracking bugs for this issue:

Affects: fedora-all [bug 1434464]


Created mingw-jasper tracking bugs for this issue:

Affects: epel-7 [bug 1434465]
Affects: fedora-all [bug 1434467]

Comment 2 Tomas Hoger 2017-12-05 13:26:58 UTC
This CVE is for the same reachable assertion as CVE-2016-9399 (bug 1396981).  Upstream bug report is:

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

The issue remains unfixed in the current upstream version 2.0.14.

Comment 5 Tomas Hoger 2020-12-28 21:46:26 UTC
Upstream commit:

https://github.com/jasper-software/jasper/commit/84d00fb29a22e360c2ff91bdc2cd81c288826bfc

The issue was fixed upstream in jasper 2.0.17.

Comment 6 Tomas Hoger 2020-12-28 21:47:26 UTC
Closing as duplicate of CVE-2016-9399 as indicated by comment 2 above.

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