TencentOS Server 4: ghostscript (TSSA-2024:0881)

high Nessus Plugin ID 239247

Synopsis

The remote TencentOS Server 4 host is missing one or more security updates.

Description

The version of Tencent Linux installed on the remote TencentOS Server 4 host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the TSSA-2024:0881 advisory.

Package updates are available for TencentOS Server 4 that fix the following vulnerabilities:

CVE-2024-46956:
An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution.

CVE-2024-46955:
An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. There is an out-of-bounds read when reading color in Indexed color space.

CVE-2024-46954:
An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.

CVE-2024-46953:
An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.

CVE-2024-46952:
An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values).

CVE-2024-46951:
An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. An unchecked Implementation pointer in Pattern color space could lead to arbitrary code execution.

Tenable has extracted the preceding description block directly from the Tencent Linux 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

Update the affected packages.

See Also

https://mirrors.tencent.com/tlinux/errata/tssa-20240881.xml

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46954

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46952

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46953

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46955

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46951

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46956

Plugin Details

Severity: High

ID: 239247

File Name: tencentos_TSSA_2024_0881.nasl

Version: 1.1

Type: local

Published: 6/16/2025

Updated: 6/16/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:tencent:tencentos_server:ghostscript, cpe:/o:tencent:tencentos_server:4

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/etc/os-release, Host/TencentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/18/2024

Vulnerability Publication Date: 11/18/2024