Lucene search

K
amazonAmazonALAS-2023-1807
HistoryAug 17, 2023 - 11:39 a.m.

Medium: transfig

2023-08-1711:39:00
alas.aws.amazon.com
6
buffer overflow
genmp_writefontmacro_latex
set_color
set_fill
shade_or_tint_name_after_declare_color
put_font
fig2dev
cve-2020-21678
cve-2020-21681
cve-2020-21682
cve-2020-21683
cve-2020-21684
cve-2021-32280
trans_spline

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

6.1 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

47.7%

Issue Overview:

2024-06-07: CVE-2019-19797 was added to this advisory.

An out-of-bounds write flaw was found in transfig in the way the fig2dev program handled the processing of Fig format files. Specifically, the flaw affects the translation process of Fig codes into the box graphics language. This flaw allows for potential exploitation by crashing the fig2dev program by tricking it into processing specially crafted Fig format files. (CVE-2019-19797)

A global buffer overflow in the genmp_writefontmacro_latex component in genmp.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into mp format. (CVE-2020-21678)

A global buffer overflow in the set_color component in genge.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ge format. (CVE-2020-21681)

A global buffer overflow in the set_fill component in genge.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ge format. (CVE-2020-21682)

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. (CVE-2020-21683)

A global buffer overflow in the put_font in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format. (CVE-2020-21684)

An issue was discovered in fig2dev before 3.2.8… A NULL pointer dereference exists in the function compute_closed_spline() located in trans_spline.c. It allows an attacker to cause Denial of Service. The fixed version of fig2dev is 3.2.8. (CVE-2021-32280)

Affected Packages:

transfig

Issue Correction:
Run yum update transfig to update your system.

New Packages:

i686:  
    transfig-3.2.7b-10.8.amzn1.i686  
    transfig-debuginfo-3.2.7b-10.8.amzn1.i686  
  
src:  
    transfig-3.2.7b-10.8.amzn1.src  
  
x86_64:  
    transfig-3.2.7b-10.8.amzn1.x86_64  
    transfig-debuginfo-3.2.7b-10.8.amzn1.x86_64  

Additional References

Red Hat: CVE-2019-19797, CVE-2020-21678, CVE-2020-21681, CVE-2020-21682, CVE-2020-21683, CVE-2020-21684, CVE-2021-32280

Mitre: CVE-2019-19797, CVE-2020-21678, CVE-2020-21681, CVE-2020-21682, CVE-2020-21683, CVE-2020-21684, CVE-2021-32280

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

6.1 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

47.7%