SUSE SLED15 / SLES15 Security Update : ghostscript (SUSE-SU-2018:2976-1)

high Nessus Plugin ID 120116

Language:

Synopsis

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

Description

This update for ghostscript to version 9.25 fixes the following issues :

These security issues were fixed :

CVE-2018-17183: Remote attackers were be able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code (bsc#1109105)

CVE-2018-15909: Prevent type confusion using the .shfill operator that could have been used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code (bsc#1106172).

CVE-2018-15908: Prevent attackers that are able to supply malicious PostScript files to bypass .tempfile restrictions and write files (bsc#1106171).

CVE-2018-15910: Prevent a type confusion in the LockDistillerParams parameter that could have been used to crash the interpreter or execute code (bsc#1106173).

CVE-2018-15911: Prevent use uninitialized memory access in the aesdecode operator that could have been used to crash the interpreter or potentially execute code (bsc#1106195).

CVE-2018-16513: Prevent a type confusion in the setcolor function that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107412).

CVE-2018-16509: Incorrect 'restoration of privilege' checking during handling of /invalidaccess exceptions could be have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction (bsc#1107410).

CVE-2018-16510: Incorrect exec stack handling in the 'CS' and 'SC' PDF primitives could have been used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact (bsc#1107411).

CVE-2018-16542: Prevent attackers able to supply crafted PostScript files from using insufficient interpreter stack-size checking during error handling to crash the interpreter (bsc#1107413).

CVE-2018-16541: Prevent attackers able to supply crafted PostScript files from using incorrect free logic in pagedevice replacement to crash the interpreter (bsc#1107421).

CVE-2018-16540: Prevent use-after-free in copydevice handling that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107420).

CVE-2018-16539: Prevent attackers able to supply crafted PostScript files from using incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable (bsc#1107422).

CVE-2018-16543: gssetresolution and gsgetresolution allowed attackers to have an unspecified impact (bsc#1107423).

CVE-2018-16511: A type confusion in 'ztype' could have been used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107426).

CVE-2018-16585: The .setdistillerkeys PostScript command was accepted even though it is not intended for use during document processing (e.g., after the startup phase). This lead to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107581).

CVE-2018-16802: Incorrect 'restoration of privilege' checking when running out of stack during exception handling could have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction. This is due to an incomplete fix for CVE-2018-16509 (bsc#1108027).

The update package also includes non-security fixes. See advisory for details.

Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'.

Alternatively you can run the command listed for your product :

SUSE Linux Enterprise Module for Desktop Applications 15:zypper in -t patch SUSE-SLE-Module-Desktop-Applications-15-2018-2119=1

SUSE Linux Enterprise Module for Basesystem 15:zypper in -t patch SUSE-SLE-Module-Basesystem-15-2018-2119=1

See Also

https://bugzilla.suse.com/show_bug.cgi?id=1106171

https://bugzilla.suse.com/show_bug.cgi?id=1106172

https://bugzilla.suse.com/show_bug.cgi?id=1106173

https://bugzilla.suse.com/show_bug.cgi?id=1106195

https://bugzilla.suse.com/show_bug.cgi?id=1107410

https://bugzilla.suse.com/show_bug.cgi?id=1107411

https://bugzilla.suse.com/show_bug.cgi?id=1107412

https://bugzilla.suse.com/show_bug.cgi?id=1107413

https://bugzilla.suse.com/show_bug.cgi?id=1107420

https://bugzilla.suse.com/show_bug.cgi?id=1107421

https://bugzilla.suse.com/show_bug.cgi?id=1107422

https://bugzilla.suse.com/show_bug.cgi?id=1107423

https://bugzilla.suse.com/show_bug.cgi?id=1107426

https://bugzilla.suse.com/show_bug.cgi?id=1107581

https://bugzilla.suse.com/show_bug.cgi?id=1108027

https://bugzilla.suse.com/show_bug.cgi?id=1109105

https://www.suse.com/security/cve/CVE-2018-15908/

https://www.suse.com/security/cve/CVE-2018-15909/

https://www.suse.com/security/cve/CVE-2018-15910/

https://www.suse.com/security/cve/CVE-2018-15911/

https://www.suse.com/security/cve/CVE-2018-16509/

https://www.suse.com/security/cve/CVE-2018-16510/

https://www.suse.com/security/cve/CVE-2018-16511/

https://www.suse.com/security/cve/CVE-2018-16513/

https://www.suse.com/security/cve/CVE-2018-16539/

https://www.suse.com/security/cve/CVE-2018-16540/

https://www.suse.com/security/cve/CVE-2018-16541/

https://www.suse.com/security/cve/CVE-2018-16542/

https://www.suse.com/security/cve/CVE-2018-16543/

https://www.suse.com/security/cve/CVE-2018-16585/

https://www.suse.com/security/cve/CVE-2018-16802/

https://www.suse.com/security/cve/CVE-2018-17183/

http://www.nessus.org/u?8e208efb

Plugin Details

Severity: High

ID: 120116

File Name: suse_SU-2018-2976-1.nasl

Version: 1.6

Type: local

Agent: unix

Published: 1/2/2019

Updated: 7/10/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.4

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.7

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

CVSS Score Source: CVE-2018-16509

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

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

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

CVSS Score Source: CVE-2018-17183

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:ghostscript-x11, p-cpe:/a:novell:suse_linux:libspectre1, p-cpe:/a:novell:suse_linux:ghostscript, p-cpe:/a:novell:suse_linux:ghostscript-x11-debuginfo, p-cpe:/a:novell:suse_linux:ghostscript-debugsource, p-cpe:/a:novell:suse_linux:ghostscript-debuginfo, p-cpe:/a:novell:suse_linux:libspectre-devel, p-cpe:/a:novell:suse_linux:libspectre1-debuginfo, p-cpe:/a:novell:suse_linux:libspectre-debugsource, p-cpe:/a:novell:suse_linux:ghostscript-devel, cpe:/o:novell:suse_linux:15

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/2/2018

Vulnerability Publication Date: 8/27/2018

Exploitable With

Metasploit (Ghostscript Failed Restore Command Execution)

Reference Information

CVE: CVE-2018-15908, CVE-2018-15909, CVE-2018-15910, CVE-2018-15911, CVE-2018-16509, CVE-2018-16510, CVE-2018-16511, CVE-2018-16513, CVE-2018-16539, CVE-2018-16540, CVE-2018-16541, CVE-2018-16542, CVE-2018-16543, CVE-2018-16585, CVE-2018-16802, CVE-2018-17183