AlmaLinux 9 : ghostscript (ALSA-2024:6197)

medium Nessus Plugin ID 206607

Synopsis

The remote AlmaLinux host is missing one or more security updates.

Description

The remote AlmaLinux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2024:6197 advisory.

* 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)

Tenable has extracted the preceding description block directly from the AlmaLinux 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://errata.almalinux.org/9/ALSA-2024-6197.html

Plugin Details

Severity: Medium

ID: 206607

File Name: alma_linux_ALSA-2024-6197.nasl

Version: 1.2

Type: local

Published: 9/4/2024

Updated: 9/5/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.9

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Temporal Score: 4.6

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: 5.9

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

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

CVSS Score Source: CVE-2024-29510

Vulnerability Information

CPE: p-cpe:/a:alma:linux:ghostscript-x11, p-cpe:/a:alma:linux:ghostscript-tools-dvipdf, cpe:/o:alma:linux:9::appstream, p-cpe:/a:alma:linux:ghostscript-doc, p-cpe:/a:alma:linux:libgs, cpe:/o:alma:linux:9::supplementary, cpe:/o:alma:linux:9::highavailability, cpe:/o:alma:linux:9::resilientstorage, cpe:/o:alma:linux:9::sap_hana, cpe:/o:alma:linux:9::sap, cpe:/o:alma:linux:9::crb, p-cpe:/a:alma:linux:ghostscript-tools-fonts, cpe:/o:alma:linux:9::realtime, p-cpe:/a:alma:linux:libgs-devel, cpe:/o:alma:linux:9, p-cpe:/a:alma:linux:ghostscript-tools-printing, p-cpe:/a:alma:linux:ghostscript, cpe:/o:alma:linux:9::nfv, cpe:/o:alma:linux:9::baseos

Required KB Items: Host/local_checks_enabled, Host/AlmaLinux/release, Host/AlmaLinux/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