RHEL 9 : ghostscript (RHSA-2024:6197)

medium Nessus Plugin ID 206628

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:6197 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:6197.

See Also

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

http://www.nessus.org/u?a060dfac

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

Plugin Details

Severity: Medium

ID: 206628

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

Version: 1.4

Type: local

Agent: unix

Published: 9/5/2024

Updated: 11/8/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: 8.1

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: p-cpe:/a:redhat:enterprise_linux:ghostscript-tools-dvipdf, p-cpe:/a:redhat:enterprise_linux:ghostscript, cpe:/o:redhat:enterprise_linux:9, 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/3/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:6197