Bug 1658791 (CVE-2018-19542)

Summary: CVE-2018-19542 jasper: invalid access in jp2_decode in libjasper/jp2/jp2_dec.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, dbaker, jokerman, jridky, rh-spice-bugs, sthangav, trankin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Jasper due to a NULL pointer dereference in the jp2_decode function within libjasper/jp2/jp2_dec.c, where an attacker could exploit this flaw by persuading a victim to open a specially crafted file, causing the application to crash and resulting in a denial of service condition.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 03:21:58 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: 1658792, 1658793, 1658794, 1660966, 1660971, 1660976    
Bug Blocks: 1658799    

Description Laura Pardo 2018-12-12 20:50:49 UTC
An issue was discovered in JasPer 2.0.14. There is a NULL pointer dereference in the function jp2_decode in libjasper/jp2/jp2_dec.c, leading to a denial of service. 


References:
https://github.com/mdadams/jasper/issues/182

Comment 1 Laura Pardo 2018-12-12 20:51:14 UTC
Created jasper tracking bugs for this issue:

Affects: fedora-all [bug 1658792]


Created mingw-jasper tracking bugs for this issue:

Affects: epel-7 [bug 1658794]
Affects: fedora-all [bug 1658793]

Comment 2 Stefan Cornelius 2018-12-19 16:59:06 UTC
Not really a NULL ptr deref, but it can end up using garbage memory and the outcome can look like it is