Bug 1992790 (CVE-2020-21683) - CVE-2020-21683 transfig: A global buffer overflow in the shade_or_tint_name_after_declare_color in genpstricks.c could result in a denial of service
Summary: CVE-2020-21683 transfig: A global buffer overflow in the shade_or_tint_name_a...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-21683
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: 1998593 1998594
Blocks: 1992794
TreeView+ depends on / blocked
 
Reported: 2021-08-11 18:15 UTC by Michael Kaplan
Modified: 2023-12-13 13:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-13 13:39:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-08-11 18:15:37 UTC
A global buffer overflow in the shade_or_tint_name_after_declare_color in genpstricks.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pstricks format.

Reference:

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

Comment 1 Garrett Tucker 2021-08-27 17:07:16 UTC
A DoS could be triggered via a buffer overflow due to the implementation of shading or tinting when converting to pstricks. The problem is a result of handling an unknown color when tinting or shading which lead to an incorrect offset and an eventual DoS. The patch for remediation is: https://sourceforge.net/p/mcj/fig2dev/ci/639c36010a120e97a6e82e7cd57cbf9dbf4b64f1/


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