Amazon Linux 2023 : ghostscript, ghostscript-gtk, ghostscript-tools-dvipdf (ALAS2023-2025-907)

critical Nessus Plugin ID 233700

Language:

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2025-907 advisory.

The calculation of the buffer size was being done with int values, and overflowing that data type. The bug has existed since the creation of the file contrib/japanese/gdevnpdl.cThe calculation of the buffer size was being done with int values, and overflowing that data type. By leaving the total size calculation to the memory manager, the calculation ends up being done in size_t values, and avoiding the overflow in this case, but also meaning the memory manager overflow protection will be effective.

Fixed in ghostpdl-10.05.0

Info: https://bugs.ghostscript.com/show_bug.cgi?id=708133Patch: https://cgit.ghostscript.com/cgi- bin/cgit.cgi/ghostpdl.git/commit/?id=57291c846334f1585552010faa42d7cb2cbd5c41 (CVE-2025-27832)

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

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

Solution

Run 'dnf update ghostscript --releasever 2023.7.20250331' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2025-907.html

https://alas.aws.amazon.com/cve/html/CVE-2025-27832.html

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

Plugin Details

Severity: Critical

ID: 233700

File Name: al2023_ALAS2023-2025-907.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/1/2025

Updated: 4/1/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2025-27832

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ghostscript-gtk-debuginfo, p-cpe:/a:amazon:linux:ghostscript-tools-fonts, p-cpe:/a:amazon:linux:ghostscript-x11, p-cpe:/a:amazon:linux:ghostscript-tools-printing, p-cpe:/a:amazon:linux:libgs-debuginfo, p-cpe:/a:amazon:linux:libgs, p-cpe:/a:amazon:linux:ghostscript-tools-dvipdf, p-cpe:/a:amazon:linux:ghostscript-debugsource, p-cpe:/a:amazon:linux:ghostscript-doc, p-cpe:/a:amazon:linux:ghostscript-gtk, p-cpe:/a:amazon:linux:ghostscript, p-cpe:/a:amazon:linux:ghostscript-debuginfo, p-cpe:/a:amazon:linux:libgs-devel, p-cpe:/a:amazon:linux:ghostscript-x11-debuginfo, cpe:/o:amazon:linux:2023

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/26/2025

Vulnerability Publication Date: 3/25/2025

Reference Information

CVE: CVE-2025-27832

IAVB: 2025-B-0043