Scientific Linux Security Update : ghostscript on SL7.x x86_64 (20170104)

critical Nessus Plugin ID 96302

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

Security Fix(es) :

- It was found that the ghostscript functions getenv, filenameforall and .libfile did not honor the -dSAFER option, usually used when processing untrusted documents, leading to information disclosure. A specially crafted postscript document could read environment variable, list directory and retrieve file content respectively, from the target. (CVE-2013-5653, CVE-2016-7977)

- It was found that the ghostscript function .setdevice suffered a use- after-free vulnerability due to an incorrect reference count. A specially crafted postscript document could trigger code execution in the context of the gs process. (CVE-2016-7978)

- It was found that the ghostscript function .initialize_dsc_parser did not validate its parameter before using it, allowing a type confusion flaw. A specially crafted postscript document could cause a crash code execution in the context of the gs process.
(CVE-2016-7979)

- It was found that ghostscript did not sufficiently check the validity of parameters given to the .sethalftone5 function. A specially crafted postscript document could cause a crash, or execute arbitrary code in the context of the gs process. (CVE-2016-8602)

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?472d4987

Plugin Details

Severity: Critical

ID: 96302

File Name: sl_20170104_ghostscript_on_SL7_x.nasl

Version: 3.9

Type: local

Agent: unix

Published: 1/5/2017

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:ghostscript, p-cpe:/a:fermilab:scientific_linux:ghostscript-cups, p-cpe:/a:fermilab:scientific_linux:ghostscript-debuginfo, p-cpe:/a:fermilab:scientific_linux:ghostscript-devel, p-cpe:/a:fermilab:scientific_linux:ghostscript-doc, p-cpe:/a:fermilab:scientific_linux:ghostscript-gtk, x-cpe:/o:fermilab:scientific_linux

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

Patch Publication Date: 1/4/2017

Vulnerability Publication Date: 3/7/2017

Reference Information

CVE: CVE-2013-5653, CVE-2016-7977, CVE-2016-7978, CVE-2016-7979, CVE-2016-8602