Bug 1708563 (CVE-2019-8383)

Summary: CVE-2019-8383 advancecomp: denial of service in function adv_png_unfilter_8 in lib/png.c
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:03 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: 1708564, 1711051    
Bug Blocks: 1708566    

Description Dhananjay Arunesh 2019-05-10 08:42:32 UTC
An issue was discovered in AdvanceCOMP through 2.1. An invalid memory address occurs in the function adv_png_unfilter_8 in lib/png.c. 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/272/

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

Affects: fedora-all [bug 1708564]

Comment 2 Than Ngo 2019-05-10 09:48:13 UTC
it's fixed in advancecomp-2.1-11

Comment 8 Marco Benatto 2019-05-16 21:42:18 UTC
There's a vulnerability on png library from advancecomp package where an attacker can cause improper heap data read or DoS by a crafted PNG
file. The advancecomp PNG library doesn't validate the image size, the lack of validation leads to a integer overflow when decoding PNG header
data. The overflown value is further used to perform memory allocation and access, this action causes heap-based overflow leading to improper
data reading from heap or causing DoS due to invalid memory access.

Comment 9 Marco Benatto 2019-05-16 21:47:45 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 10 errata-xmlrpc 2019-08-06 12:41:28 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:03 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-8383