Amazon Linux AMI : transfig (ALAS-2023-1807)

medium Nessus Plugin ID 180071

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

The version of transfig installed on the remote host is prior to 3.2.7b-10.8. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2023-1807 advisory.

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update transfig' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2023-1807.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2019-19797.html

https://alas.aws.amazon.com/cve/html/CVE-2020-21678.html

https://alas.aws.amazon.com/cve/html/CVE-2020-21681.html

https://alas.aws.amazon.com/cve/html/CVE-2020-21682.html

https://alas.aws.amazon.com/cve/html/CVE-2020-21683.html

https://alas.aws.amazon.com/cve/html/CVE-2020-21684.html

https://alas.aws.amazon.com/cve/html/CVE-2021-32280.html

Plugin Details

Severity: Medium

ID: 180071

File Name: ala_ALAS-2023-1807.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/23/2023

Updated: 6/10/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-32280

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:transfig-debuginfo, p-cpe:/a:amazon:linux:transfig, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/17/2023

Vulnerability Publication Date: 8/10/2021

Reference Information

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