Bug 2005481 (CVE-2020-21535) - CVE-2020-21535 transfig: segmentation fault in the gencgm_start() in gencgm.c
Summary: CVE-2020-21535 transfig: segmentation fault in the gencgm_start() in gencgm.c
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-21535
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2006003
Blocks: 2005482
TreeView+ depends on / blocked
 
Reported: 2021-09-17 18:22 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-12-13 13:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-13 13:39:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-09-17 18:22:20 UTC
fig2dev 3.2.7b contains a segmentation fault in the gencgm_start function in gencgm.c.

Reference:
https://sourceforge.net/p/mcj/tickets/62/

Comment 1 Garrett Tucker 2021-09-20 16:31:07 UTC
After analysis of this flaw, all versions of RHEL 8 are affected. RHEL 9 remains unaffected as the patch to fix this flaw was applied and introduced in RHEL 9. The patch applied is: https://sourceforge.net/p/mcj/fig2dev/ci/41b9bb838a3d544539f6e68aa4f87d70ef7d45ce/. This flaw was caused by the use of fgets which led to a buffer overflow and segmentation fault in read_objects when a specially crafted file was used as input to the program.


Note You need to log in before you can comment on or make changes to this bug.