Bug 2074392 (CVE-2022-24191)

Summary: CVE-2022-24191 htmldoc: infinite loop in the gif_read_lzw function can lead to a buffer overflow
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: extras-orphan, rdieter
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: 2022-04-12 10:26:57 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: 2074394, 2074393    
Bug Blocks:    

Description Marian Rehak 2022-04-12 07:12:32 UTC
In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.

Reference:

https://github.com/michaelrsweet/htmldoc/issues/470

Comment 1 Marian Rehak 2022-04-12 07:12:52 UTC
Created htmldoc tracking bugs for this issue:

Affects: epel-all [bug 2074394]
Affects: fedora-all [bug 2074393]

Comment 2 Product Security DevOps Team 2022-04-12 10:26:55 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.