RHEL 9 : ghostscript (RHSA-2024:6466)

medium Nessus Plugin ID 206784

Synopsis

The remote Red Hat host is missing one or more security updates for ghostscript.

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2024:6466 advisory.

The Ghostscript suite contains utilities for rendering PostScript and PDF documents. Ghostscript translates PostScript code to common bitmap formats so that the code can be displayed or printed.

Security Fix(es):

* ghostscript: format string injection leads to shell command execution (SAFER bypass) (CVE-2024-29510)

* ghostscript: path traversal and command execution due to path reduction (CVE-2024-33869)

* ghostscript: path traversal to arbitrary files if the current directory is in the permitted paths (CVE-2024-33870)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise 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 RHEL ghostscript package based on the guidance in RHSA-2024:6466.

See Also

http://www.nessus.org/u?655df8ac

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=2293950

https://bugzilla.redhat.com/show_bug.cgi?id=2293958

https://bugzilla.redhat.com/show_bug.cgi?id=2293959

https://access.redhat.com/errata/RHSA-2024:6466

Plugin Details

Severity: Medium

ID: 206784

File Name: redhat-RHSA-2024-6466.nasl

Version: 1.5

Type: local

Agent: unix

Published: 9/9/2024

Updated: 11/11/2024

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

Risk Information

VPR

Risk Factor: High

Score: 7.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Temporal Score: 4.9

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

CVSS Score Source: CVE-2024-33870

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 6

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

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

Vulnerability Information

CPE: cpe:/o:redhat:rhel_eus:9.2, p-cpe:/a:redhat:enterprise_linux:ghostscript-tools-dvipdf, p-cpe:/a:redhat:enterprise_linux:ghostscript, p-cpe:/a:redhat:enterprise_linux:libgs, p-cpe:/a:redhat:enterprise_linux:ghostscript-tools-fonts, p-cpe:/a:redhat:enterprise_linux:libgs-devel, p-cpe:/a:redhat:enterprise_linux:ghostscript-doc, p-cpe:/a:redhat:enterprise_linux:ghostscript-tools-printing, p-cpe:/a:redhat:enterprise_linux:ghostscript-x11

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/9/2024

Vulnerability Publication Date: 6/13/2024

Exploitable With

Metasploit (Ghostscript Command Execution via Format String)

Reference Information

CVE: CVE-2024-29510, CVE-2024-33869, CVE-2024-33870

CWE: 20, 23

RHSA: 2024:6466