Bug 2044569 (CVE-2021-37529)

Summary: CVE-2021-37529 transfig: Double-free via the free_stream function in readpics.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: databases-maint, hhorak, kasal, mschorm, odubaj, panovotn, zmiklank
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 double-free vulnerability was found in fig2dev in the free_stream() function of 'readpics.c'. This issue occurs due to freeing the memory for long file names. This flaw allows an attacker to pass a crafted file to fig2dev, causing a double-free fault that can lead to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-11 09:36:34 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: 2044570    
Bug Blocks: 2044576    

Description Pedro Sampaio 2022-01-24 18:56:59 UTC
A double-free vulnerability exists in fig2dev through 3.28a is affected by: via the free_stream function in readpics.c, which could cause a denial of service (context-dependent).

https://sourceforge.net/p/mcj/tickets/125/

Comment 1 Pedro Sampaio 2022-01-24 18:57:15 UTC
Created transfig tracking bugs for this issue:

Affects: fedora-all [bug 2044570]

Comment 3 Product Security DevOps Team 2022-02-11 09:36:32 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-2021-37529