Bug 1708561 (CVE-2019-8379)

Summary: CVE-2019-8379 advancecomp: null pointer dereference in function be_uint32_read() in endianrw.h
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: i, lupinix.fedora, than
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:21:01 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: 1708562, 1710910    
Bug Blocks: 1708566    

Description Dhananjay Arunesh 2019-05-10 08:35:57 UTC
An issue was discovered in AdvanceCOMP through 2.1. A NULL pointer dereference exists in the function be_uint32_read() located in endianrw.h. It can be triggered by sending a crafted file to a binary. It allows an attacker to cause a Denial of Service (Segmentation fault) or possibly have unspecified other impact when a victim opens a specially crafted file.

Reference:
https://sourceforge.net/p/advancemame/bugs/271/

Comment 1 Dhananjay Arunesh 2019-05-10 08:36:20 UTC
Created advancecomp tracking bugs for this issue:

Affects: fedora-all [bug 1708562]

Comment 6 Marco Benatto 2019-05-16 16:01:27 UTC
Statement:

This issue affects the versions of advancecomp as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 9 Marco Benatto 2019-05-16 19:36:58 UTC
A crafted MNG file can cause advmng application from advancecomp to crash due to segmentation fault leading to DoS.
An attacker can craft a MNG file to induce advmng to derreference a NULL pointer, this happens due to improper
validation of MNG chunks contained on the malicious file.

The crash happens at be_uint32_read() called from png_print_chunk() when advmng is trying to read the malformed chunck
data when it has an invlid chunck size.

Comment 10 errata-xmlrpc 2019-08-06 12:41:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2332 https://access.redhat.com/errata/RHSA-2019:2332

Comment 11 Product Security DevOps Team 2019-08-06 19:21:01 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-2019-8379